From 75725911265fa77390981209adb5030f0e49f27e Mon Sep 17 00:00:00 2001 From: 4ngle Date: Wed, 10 Mar 2010 06:56:28 +0000 Subject: [PATCH] metadata filelist --- htdocs/index.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/htdocs/index.php b/htdocs/index.php index 4366eac6..73377c11 100755 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -8,11 +8,8 @@ set_include_path('.' . PATH_SEPARATOR . '../include/' . PATH_SEPARATOR . '../application/models' . PATH_SEPARATOR . '../application/default/controllers' . PATH_SEPARATOR . get_include_path()); -//include "Zend/Loader.php"; -//Zend_Loader::registerAutoload(); -require_once 'Zend/Loader/Autoloader.php'; -$loader = Zend_Loader_Autoloader::getInstance(); -$loader->setFallbackAutoloader(true); +include "Zend/Loader.php"; +Zend_Loader::registerAutoload(); // load configuration $config = new Zend_Config_Ini('../application/config.ini', 'general'); @@ -27,8 +24,6 @@ $auth->setStorage(new Zend_Auth_Storage_Session('westdc')); $db = Zend_Db::factory($config->db); Zend_Db_Table::setDefaultAdapter($db); $registry->set('db',$db); -$filedb = Zend_Db::factory($config->filelist); -$registry->set('filelist', $filedb); // setup controller $frontController = Zend_Controller_Front::getInstance();