On 23.09.2010 10:27, Richard D Shank wrote:
> If I put
> $loader->registerPrefixes(array(
>     'Twig_Extensions_' =>  $vendorDir.'/twig-extensions/lib',
>     'Twig_'  => $vendorDir.'/twig/lib',
> ));
> it will load just fine.
> 
> Is this the expected behavior or should this be considered a bug?

That's to be expected, it processes all the paths top-down and then uses
the first match found, so you must put the more specific ones on top
otherwise the most generic ones will override them.

Cheers

-- 
Jordi Boggiano
@seldaek :: http://seld.be/

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to