예제 #1
0
파일: search.php 프로젝트: ruoL/fun-x
 /**
  * 构造函数
  * 
  * @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();
     }
 }
예제 #2
0
파일: book.php 프로젝트: ruoL/fun-x
 public function __construct()
 {
     parent::__construct();
 }