function __construct() { parent::__construct(); if ($_GET['appid']) { $_SERVER['PHP_AUTH_USER'] = $_GET['appid']; } if ($_GET['appsecret']) { $_SERVER['PHP_AUTH_PW'] = $_GET['appsecret']; } $_SERVER['REQUEST_METHOD'] = 'POST'; }
function __construct() { parent::__construct(); $_SERVER['REQUEST_METHOD'] = 'POST'; }
function __construct() { parent::__construct(); $this->_user = get_user() or ajax_error('USER_NOT_LOGIN', '登录超时,请重新登录!'); $this->_checkOtherLogin($this->_user['uid']); }
function __construct() { parent::__construct(); $_SERVER['REQUEST_METHOD'] = 'POST'; //$this->server = initial(); }