From c706cddbf9122f6fa503d6bae7a76f5f115637f8 Mon Sep 17 00:00:00 2001 From: wlx Date: Tue, 1 Nov 2011 06:39:41 +0000 Subject: [PATCH] remove update registry --- htdocs/index.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/htdocs/index.php b/htdocs/index.php index ea870042..8bb333d3 100755 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -21,12 +21,6 @@ $config = new Zend_Config_Ini('../application/config.ini', 'general'); $registry = Zend_Registry::getInstance(); $registry->set('config', $config); -if ($_SERVER["DOCUMENT_ROOT"]) { - $Root = $_SERVER["DOCUMENT_ROOT"]; - $Root = rtrim($Root,"/\\"); - $registry->set('upload', $Root.'/../data/uploads/'); -} - // setup application authentication $auth = Zend_Auth::getInstance(); $auth->setStorage(new Zend_Auth_Storage_Session('westdc'));