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

Bug #13264 Contact_AddressBook::getDataDir() should use PEAR_Config::singleton
Submitted: 2008-02-29 12:48 UTC
From: sunejensen Assigned: firman
Status: Closed Package: Contact_AddressBook (version 0.5.0)
PHP Version: 5.2.5 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2008-02-29 12:48 UTC] sunejensen (Sune Jensen)
Description: ------------ The method Contact_AddressBook::getDataDir() which returns the path to the data dir currently initializes PEAR_Config by $config = new PEAR_Config(); This should instead be $config = PEAR_Config::singleton(); so that it is possible to use a local config file.

Comments

 [2008-05-09 00:30 UTC] firman (Firman Wandayandi)
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.