2009-07-02 2 views
0

, 우리는 사용해야합니다젠드 프레임 워크 ZF의 새 버전에서 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

안부와 함께 잘 작동

답변

0

$autoloader = Zend_Loader_Autoloader::getInstance(); $autoloader->setFallbackAutoloader(true);

공장!