About technology, programming and internet marketing

Monday, June 8, 2009

Replace Zend_Loader::registerAutoload() with the new Zend_Loader_Autoloader

Inorder for the project to work with the new Zend loader you must replace the lines

--------------------------------------------
require_once("Zend/Loader.php");
Zend_Loader::registerAutoload();

----------------------------------------------

with theses new lines
---------------------------------------------------------
require_once 'Zend/Loader/Autoloader.php';
$loader = Zend_Loader_Autoloader::getInstance();
$loader->setFallbackAutoloader(true);

------------------------------------------------------

Happy Coding !!!

0 comments:

Post a Comment