-- Łukasz Wojciechowski <[EMAIL PROTECTED]> wrote (on Monday, 10 December 2007, 02:08 PM +0100): > I use __call() function in my system. The problem is that there is > class_exists() used in Zend_Controller_Dispatch_Standard witch tries > to autoload class (i.e. IndexController) witch obviously fails ;) ... > In 2 places (line 282 and 165) I added 2nd parameter to class_exists > (witch is disabling autoload) and it works perfectly. > > Wondering if this behaviour is in purpouse? > > Using Zend 1.0.3
Nope, not on purpose, and it's corrected in svn. For now, if you define __autoload(), it will be an issue; however, if you use Zend_Loader::registerAutoload(), which registers with spl_autoload(), all works correctly (due to differences in how each handles exceptions). So, the quick fix, until the next release, is to use Zend_Loader::registerAutoload() if you want to use autoloading. -- Matthew Weier O'Phinney PHP Developer | [EMAIL PROTECTED] Zend - The PHP Company | http://www.zend.com/
