我是zend框架的新手,
一个简单的问题:
在我的 IndexController 文件中,我想实例化新类。
我把类声明文件放在/library下
当然它在包含路径中(index.php)
set_include_path(implode(PATH_SEPARATOR, array(
realpath(APPLICATION_PATH . '/../library'),
get_include_path()
)));
我收到一个错误:
Fatal error: Class 'Profile' not found in ....
自动加载此类的方法是什么?
谢谢!