/** * 构造函数 * * @access public * @return void */ public function __construct() { parent::__construct(); $p = (int) $this->input->get('p'); $k = (string) $this->input->get('k', true); $this->_page = $p === 0 ? 1 : $p; $this->_keys = $this->_safereplace(substring(trim($k), 32, false)); if (empty($this->_keys)) { show_404(); } }
public function __construct() { parent::__construct(); }