cvs: pear /Config Config.php

From: Date: Tue, 17 Dec 2002 15:37:38 +0000
Subject: cvs: pear /Config Config.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-7909@lists.php.net to get a copy of this message
mansion Tue Dec 17 10:37:38 2002 EDT Modified files: /pear/Config Config.php Log: Get rid of the :: because it's probably bugged to death though no one seems to know or care... Index: pear/Config/Config.php diff -u pear/Config/Config.php:1.8 pear/Config/Config.php:1.9 --- pear/Config/Config.php:1.8 Tue Dec 10 15:25:16 2002 +++ pear/Config/Config.php Tue Dec 17 10:37:38 2002 @@ -15,7 +15,7 @@ // | Author: Bertrand Mansion <bmansion@mamasam.com> | // +----------------------------------------------------------------------+ // -// $Id: Config.php,v 1.8 2002/12/10 20:25:16 mansion Exp $ +// $Id: Config.php,v 1.9 2002/12/17 15:37:38 mansion Exp $ require_once('PEAR.php'); require_once('Config/Container.php'); @@ -152,7 +152,8 @@ $className = $GLOBALS['CONFIG_TYPES'][$this->configType][1]; $includeFile = $GLOBALS['CONFIG_TYPES'][$this->configType][0]; include_once($includeFile); - $error = eval("return $className::parseDatasrc('".$this->datasrc."');"); + + $error = call_user_func(array($className, 'parseDatasrc'), $this->datasrc, $this); if ($error !== true) { return $error; }

« previous php.pear.cvs (#7909) next »