I'm adding the Twig-extensions http://github.com/fabpot/Twig-extensions to my project. I have place the source in src/vendor/twig-extensions/

In my autoload, in $loader->registerPrefixes if I put
$loader->registerPrefixes(array(
  'Twig_' => $vendorDir.'/twig/lib',
  'Twig_Extensions' => $vendorDir.'/twig-extensions/lib',
));
the file is never found (in UniversalClassLoader, it kicks back out before it can get to that folder)

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?

Richard

--
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