Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.12

Bug #9632 PHPConstants missing
Submitted: 2006-12-15 21:34 UTC
From: neverpanic at gmail dot com Assigned: aashley
Status: Closed Package: Config (version CVS)
PHP Version: Irrelevant OS: Debian Sarge
Roadmaps: (Not assigned)    
Subscription  


 [2006-12-15 21:34 UTC] neverpanic at gmail dot com (Clemens Lang)
Description: ------------ The PHPConstants Container fails, because PHPContants is not registered in $_GLOBALS['CONFIG_TYPES']. Adding 'phpconstants'=>array('Config/Container/PHPConstants.php','Config_Container_PHPConstants'), to Config.php fixes this problem. Test script: --------------- print_r($this->config->writeConfig(CONFIG_PATH.'config.php', 'PHPConstants', array('name' => 'test'))); Expected result: ---------------- 1 Actual result: -------------- PEAR::Error, phpconstants is not a registered container type

Comments

 [2006-12-22 00:35 UTC] aashley at php dot net (Adam Ashley)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.