Hi, Please look these files: https://github.com/PierreRambaud/GotCms/blob/master/config/application.config.php https://github.com/PierreRambaud/GotCms/blob/master/init_autoloader.php
There's autoloader that will load namespaces and module_paths will determine the modules' folders. Regards, 2013/4/10 Marco Pivetta <[email protected]> > You can just edit your `init_autoload.php` to suit your needs. > > Marco Pivetta > > http://twitter.com/Ocramius > > http://ocramius.github.com/ > > > On 10 April 2013 09:00, stef [via Zend Framework Community] < > [email protected]> wrote: > > > Is it possible to place custom library files, classes... to be used > > throughout the whole project, but in project's root folder? I have folder > > custom in app root, and inside I have MyModule.php that I want to inherit > > it in all modules (Module.php). I can use this classes I have in a > > controllers, but it does not work outside src folder (error is: class not > > found). > > > > Tnx > > > > ------------------------------ > > If you reply to this email, your message will be added to the discussion > > below: > > > > > http://zend-framework-community.634137.n4.nabble.com/Custom-Library-Outside-vendor-Folder-tp4659685.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/Custom-Library-Outside-vendor-Folder-tp4659685p4659686.html > Sent from the Zend Framework mailing list archive at Nabble.com. > -- Pierre Rambaud Website: http://rambaudpierre.fr G+: https://plus.google.com/u/0/107809758756474139920/posts Github: https://github.com/PierreRambaud
