I have a folder with custom classes in a ZF 1.10 application. The folder is located in /library. How can I tell ZF where they are? Both application.ini and index.php set the path to the library but then ZF can't find the files.
Thank you
I have a folder with custom classes in a ZF 1.10 application. The folder is located in /library. How can I tell ZF where they are? Both application.ini and index.php set the path to the library but then ZF can't find the files.
Thank you
Check out this older Zend Framework tutorial from Rob Allen, specifically on page 4, where he talks about the bootstrapper. His newer tutorials, as excellent as they are, appear to rely on Zend Tool to do the application creation and gloss over this.
One thing that alarmed me, however, was that you mentioned that the folder you're trying to include is public/library. Unless you intentionally want to share your code with the world, I would strongly suggest you place it elsewhere...unless you've got a different "public" folder not shared with the public (in which case you may want to consider renaming it to avoid future confusion).
include_path
using set_include_path()