Argh, sorry, my mistake. I meant to tell you to customize init_autoloader.php ( https://github.com/zendframework/ZendSkeletonApplication/blob/2f60f8af002e6b7afc9f47a5e79e038e0baf5e3a/init_autoloader.php), and instead I wrote "autoload_namespaces.php".
Do not edit ANYTHING within "vendor" ;-) Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 24 February 2014 19:09, Mr User [via Zend Framework Community] < [email protected]> wrote: > well that's what i thought but when i do edit the file and make it like > this > > <?php > > // autoload_namespaces.php @generated by Composer > > $vendorDir = dirname(dirname(__FILE__)); > $baseDir = dirname($vendorDir); > > //return array( > // 'Zend\\' => array($vendorDir . > '/zendframework/zendframework/library'), > //); > > > return array( > 'Zend\\' => array(getenv('ZF2_PATH')), > ); > > > i loose everything even if the ZF2_PATH is registred in my path to the > zend library i don't understand why ? i have read the source code of the > files but i can't seem to know why the composer autoloader failed to charge > the freamwork when i do change the zend library path > > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://zend-framework-community.634137.n4.nabble.com/customize-ZF2-tp4661729p4661740.html > To start a new topic under Zend Framework, email > [email protected] > To unsubscribe from Zend Framework Community, click > here<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=634137&code=b2NyYW1pdXNAZ21haWwuY29tfDYzNDEzN3wxNzE0OTI1MTk4> > . > NAML<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/customize-ZF2-tp4661729p4661741.html Sent from the Zend Framework mailing list archive at Nabble.com.
