Exemplo n.º 1
0
 function __construct()
 {
     parent::__construct();
     if (strtolower(g('a')) != 'api') {
         session_start();
     }
 }
Exemplo n.º 2
0
 function __construct()
 {
     // 载入默认的
     parent::__construct();
     if (g('a') != 'get_token' && g('a') != 'register') {
         $this->check_token();
     }
 }
Exemplo n.º 3
0
 function __construct()
 {
     parent::__construct();
     apply_filter('API_' . g('a') . '_INPUT_FILTER');
     $not_check = array('user_sign_up', 'user_get_token');
     $not_check = apply_filter('API_LOGIN_ACTION_FILTER', $not_check);
     if (!in_array(g('a'), $not_check)) {
         $this->check_token();
     }
 }
Exemplo n.º 4
0
 function __construct()
 {
     // 载入默认的
     parent::__construct();
     if (g('a') != 'login' && g('a') != 'login_check' && g('a') != 'install') {
         if (!is_login()) {
             info_page('<a href="?a=login">请先登入</a>');
             exit;
         }
     }
 }
Exemplo n.º 5
0
 function __construct()
 {
     parent::__construct();
     $this->check_login();
 }
Exemplo n.º 6
0
 function __construct()
 {
     parent::__construct();
 }
Exemplo n.º 7
0
 function __construct()
 {
     parent::__construct();
     include 'saetv2.ex.class.php';
     session_start();
 }
Exemplo n.º 8
0
 function __construct()
 {
     // 载入默认的
     parent::__construct();
     session_start();
 }
Exemplo n.º 9
0
 function __construct()
 {
     parent::__construct();
     if_login();
 }
Exemplo n.º 10
0
 function __construct()
 {
     // 载入默认的
     parent::__construct();
 }
Exemplo n.º 11
0
 function __construct()
 {
     parent::__construct();
     //$this->check_token();
 }