remove update registry

This commit is contained in:
wlx 2011-11-01 06:39:41 +00:00
parent 74b43f2c12
commit c706cddbf9
1 changed files with 0 additions and 6 deletions

View File

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