在ZF的新版本中,我們必須使用:Zend框架1.8
require_once 'Zend/Loader/Autoloader.php'; Zend_Loader_Autoloader::getInstance();
insted的的:
require_once 'Zend/Loader.php'; Zend_Loader::registerAutoload();
但車型,都沒有工作了:(我得到。以下錯誤:
Fatal error: Class 'Launch' not found in C:\wamp\www....
如果我不刪除行:
Zend_Loader::registerAutoload();
我得到通知:
Notice: Zend_Loader::Zend_Loader::registerAutoload is deprecated as of 1.8.0 and will be removed with 2.0.0; use Zend_Loader_Autoloader instead in C:\wamp\www.....
而且我已經設置了包括對模型的路徑,我的當前設置正常工作與1.7
最好的問候,