-- tonystamp <[email protected]> wrote (on Thursday, 11 February 2010, 02:49 PM -0800): > Thanks for the reply. > > Had a look at a simple project created with Zend_Tool. Seems to be very > similar to what i have, except i have an extra library of code created under > application: > > application/library/Zend > application/library/MyRepo > > I have this in the application.ini already: > includePaths.library = APPLICATION_PATH "/../library" > ...but it still does not seem to find files located in MyRepo ??? Which is > why i thought it might be something to do with setting up a namespace for > application/library/MyRepo?
You need to tell the autoloader about your namespace. The easiest way to do this is to add the following line to your configuration: * Add a configuration line: autoloaderNamespaces[] = "MyRepo_" -- Matthew Weier O'Phinney Project Lead | [email protected] Zend Framework | http://framework.zend.com/ PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc
