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

Bug #12987 improper calls to class_exists
Submitted: 2008-01-28 15:35 UTC
From: weirdan Assigned: weirdan
Status: Closed Package: PEAR (version 1.7.0RC2)
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: 1.7.0    
Subscription  


 [2008-01-28 15:35 UTC] weirdan (Bruce Weirdan)
Description: ------------ There are improper calls to class_exists (file name used instead of classname). I found five instances of this error: PEAR\Command\Install.php|line 519 col 14| if (!class_exists('PEAR/PackageFile.php')) { PEAR\Command\Package.php|line 304 col 14| if (!class_exists('PEAR/PackageFile.php')) { PEAR\Command\Pickle.php|line 118 col 14| if (!class_exists('PEAR/PackageFile.php')) { PEAR\Downloader.php|line 212 col 14| if (!class_exists('PEAR/ChannelFile.php')) { PEAR\Downloader.php|line 256 col 14| if (!class_exists('PEAR/Dependency2.php')) { They did not manifest themselves because files were included via require_once when condition failed.

Comments

 [2008-01-29 03:20 UTC] cellog (Greg Beaver)
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.