Why ist the Zend_Autoloader not able to load my Classes.
Tha path to the library should be: /root/application/modules/modulexy/MyLib
(Zend Version 1.12)
What i did:
- In the public/index.php
set_include_path(implode(PATH_SEPARATOR, array( ... realpath(APPLICATION_PATH . '/modules/modulexy/MyLib'), ... )));
In the Controller
$al = Zend_Loader_Autoloader::getInstance(); $al->registerNamespace("MyLib_");
I don't want to move the library to /root/library