예제 #1
0
파일: Auth.php 프로젝트: utcuong3010/vng
 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);
     }
 }
예제 #2
0
파일: Auth.php 프로젝트: visualweber/appzf1
 public function __construct()
 {
     defined('APPLICATION_NAME') || define('APPLICATION_NAME', 'viwebcms-webapp');
     $this->setClient(APPLICATION_NAME);
     parent::__construct();
 }