2009年2月27日星期五

Re: [fw-mvc] Proper use of Zend_Loader_Autoloader_Resource

Matthew Weier O'Phinney wrote:

 I should have been more explicit about what $autoloader is - it's an instance of Zend_Loader_Autoloader, not the resource autoloader:      Zend_Loader_Autoloader::getInstance()->registerNamespace('Imagis');  same things goes for doing fallback:      Zend_Loader_Autoloader::getInstance()->setFallbackAutoloader(true);  (Zend_Loader_Autoloader::getInstance() replaces $autoloader in my original email)   
Works now. So no bug here :)

--  Best regards, Cristian Bichis www.zftutorials.com | www.zfforums.com | www.zftalk.com | www.zflinks.com

没有评论: