protected function __construct() { parent::__construct(); $zadmin_auth = Zing_Cookies::getCookie(self::COOKIE_ADMIN_AUTH_KEY); $this->_storage = new Zing_Admin_Auth_Storage(); if (!empty($zadmin_auth)) { $this->_storage->setZAdminAuthKey($zadmin_auth); } }
public function __construct() { defined('APPLICATION_NAME') || define('APPLICATION_NAME', 'viwebcms-webapp'); $this->setClient(APPLICATION_NAME); parent::__construct(); }