Exemplo n.º 1
0
 /**
  * 构造函数
  * 
  * @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();
     }
 }
Exemplo n.º 2
0
Arquivo: book.php Projeto: ruoL/fun-x
 public function __construct()
 {
     parent::__construct();
 }