On 26 June 2012 22:14, Matthew Weier O'Phinney <[email protected]> wrote:
> -- Robert Basic <[email protected]> wrote
> (on Tuesday, 26 June 2012, 09:56 PM +0200):
>> As of ZF 1.12.0RC2 the Zend prefix is not autoregistered with the
>> standard autoloader, so the AutoloaderFactory can't find the
>> ClassMapAutoloader.php file.
>>
>> 2 possible fixes: include explicitly the ClassMapAutoloader.php, or,
>> in the AutoloaderFactory options, include the StandardAutoloader as
>> the first, and the ClassMapAutoloader as the second loader.
>>
>> I went with the first option and have updated my post accordingly:
>> http://robertbasic.com/blog/using-the-new-autoloaders-from-zend-framework-1-12
>
> Putting the StandardAutoloader first means it will trigger first,
> negating the speed factor of the ClassMapAutoloader. As such, I'd go for
> the first option, explicitly requiring the ClassMapAutoloader.php file.
>

But setting it as the "fallback_autoloader" means it should kick in
last, no matter when it's added, no? At least that's what I figured
out when trying it. But anyway, I'm going with the explicit
require_once call, much easier.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to