Possible Duplicate:
How to indicate zend framework where my custom classes are
I’m trying to create a new library in Zend. I have a few classes in my new library dir (/library/my-lib)
When I try to create a object from a class in my new library I get a “class not found” found.
Do I need to set something up in my application.ini?
To add custom class (or custom library) one can use zend framework’s autoloader namespaces.
Add the below line in application.ini file
OR
Even this:
Is said to work.
Then it should find your libs. Btw this is a copy of this question
And like Zdenek Machek said change the name to be more standard with how zf names things. Ie: MyLib is a much better name then my-lib.