'Admin_Login_')); public static function getInstance() { if (null === self::$_instance) { self::$_instance = new self(); } return self::$_instance; } public function getSuMode() { return (bool) $this->getSessionValue('suModeEnabled'); } public function setSuMode($flag = true) { $this->setSessionValue('suModeEnabled', (bool)$flag); } public function authenticate(Zend_Auth_Adapter_Interface $adapter) { $isStorageEmpty = !$this->getStorage()->read(); $result = parent::authenticate($adapter); if (!$result->isValid() || $isStorageEmpty) { App_Report_AdminView::refreshReportAccessFile(); App_Application_Document_AdminView::refreshDocumentsAccessFile(); } return $result; } }