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

Request #7304 Function loadClass calls __autoload indirectly
Submitted: 2006-04-05 11:25 UTC
From: markus dot wagner at meduniwien dot ac dot at Assigned: lsmith
Status: Closed Package: LiveUser (version 0.16.10)
PHP Version: 5.1.2 OS: Suse 9.3
Roadmaps: (Not assigned)    

 [2006-04-05 11:25 UTC] markus dot wagner at meduniwien dot ac dot at (Markus Wagner)
Description: ------------ I want to use LiveUser with , which implements the function __autoload. If I use LiveUser then the function loadClass is called, but the function class_exists in loadClass calls automaticly the function __autoload from symfony which can not find of course the necessary file. So I think it is better to change the line From if (!class_exists($classname)) { To if (!class_exists($classname, false)) { If you prefer another solution, please describe it.


 [2006-04-05 11:29 UTC] lsmith (Lukas Smith)
Tricky issue .. this would cause issues with PHP4, which means we would need to introduce conditional code :(
 [2006-04-05 13:19 UTC] markus dot wagner at meduniwien dot ac dot at
My workaround is to include the necessary Auth-Container-File manuallly before the login-Methode.
 [2006-04-09 16:07 UTC] lsmith (Lukas Smith)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the 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.