public function __construct() { parent::__construct(); self::check_admin(); //检测登录 //self::check_grant();//检测操作权限 }
public function __construct() { parent::__construct(); $this->pData = checkData($_POST); $this->gData = checkData($_GET); global $action; if ($action == 'cache_index') { $this->url_path = '/server/page_manage/cache_index'; } elseif ($action == 'game_data') { $this->url_path = '/server/page_manage/game_data'; } self::check_token($this->url_path); //请求验证 $this->library('game_library/GameInfoDetailModel'); $this->gameInfoDetai = $this->model('GameInfoDetailModel'); }
public function __construct() { parent::__construct(); }
public function __construct() { parent::__construct(); $this->img_operate = new \ThinkImage(); }