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'));