function __construct() { parent::__construct(); if (strtolower(g('a')) != 'api') { session_start(); } }
function __construct() { // 载入默认的 parent::__construct(); if (g('a') != 'get_token' && g('a') != 'register') { $this->check_token(); } }
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(); } }
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; } } }
function __construct() { parent::__construct(); $this->check_login(); }
function __construct() { parent::__construct(); }
function __construct() { parent::__construct(); include 'saetv2.ex.class.php'; session_start(); }
function __construct() { // 载入默认的 parent::__construct(); session_start(); }
function __construct() { parent::__construct(); if_login(); }
function __construct() { // 载入默认的 parent::__construct(); }
function __construct() { parent::__construct(); //$this->check_token(); }