remove update registry
This commit is contained in:
parent
74b43f2c12
commit
c706cddbf9
|
@ -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'));
|
||||
|
|
Loading…
Reference in New Issue