Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     self::check_admin();
     //检测登录
     //self::check_grant();//检测操作权限
 }
Ejemplo n.º 2
0
 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');
 }
Ejemplo n.º 3
0
 public function __construct()
 {
     parent::__construct();
 }
Ejemplo n.º 4
0
 public function __construct()
 {
     parent::__construct();
     $this->img_operate = new \ThinkImage();
 }