I have a new project set up via Zend_Tool...the directory structure is
totally standard:
/application
bootstrap.php
/configs
/controllers
/layouts
/models
/views
/library
/public
index.php
My include_path is set entirely in index.php:
set_include_path(implode(PATH_SEPARATOR, array(
realpath(APPLICATION_PATH . '/../library'),
realpath(APPLICATION_PATH . '/models'),
get_include_path(),
)));
Autoloading for Zend classes is working fine, but I can't autoload my own
classes in /application/models.
>From reading posts here and the docs, I've seen references to the fact the
Zend_App create autoloaders for the include paths during bootstrap...but
this isn't working for me.
What am I doing wrong?
TIA,
David
--
View this message in context:
http://www.nabble.com/Zend_Application-and-autoloading-tp23987637p23987637.html
Sent from the Zend Framework mailing list archive at Nabble.com.