-
/www/wwwroot/xyanglao.com/dayrui/System/Database/BaseConnection.php : 614 — CodeIgniter\Database\BaseConnection->initialize ()
607 * @todo BC set $queryClass default as null in 4.1 608 */ 609 public function query(string $sql, $binds = null, bool $setEscapeFlags = true, string $queryClass = '') 610 { 611 $queryClass = $queryClass !== '' && $queryClass !== '0' ? $queryClass : $this->queryClass; 612 613 if (empty($this->connID)) { 614 $this->initialize(); 615 } 616 617 /** 618 * @var Query $query 619 */ 620 $query = new $queryClass($this); 621 -
/www/wwwroot/xyanglao.com/dayrui/System/Database/BaseBuilder.php : 2848 — CodeIgniter\Database\BaseConnection->query ()
2841 $sql = $this->_limit($sql, true); 2842 } 2843 2844 if ($resetData) { 2845 $this->resetWrite(); 2846 } 2847 2848 return $this->testMode ? $sql : $this->db->query($sql, $this->binds, false); 2849 } 2850 2851 /** 2852 * Sets data and calls batchExecute to run queries 2853 * 2854 * @param array|object|null $set a dataset 2855 * @param array|RawSql|null $constraints -
/www/wwwroot/xyanglao.com/dayrui/App/Module/Models/Search.php : 93 — CodeIgniter\Database\BaseBuilder->delete ()
86 $time = SYS_CACHE_SEARCH * 3600; 87 if ($data && $data['inputtime'] + $time < SYS_TIME) { 88 $data = []; 89 } 90 $this->db->table($this->mytable.'_search')->where('inputtime <'. (SYS_TIME - $time))->delete(); 91 } else { 92 $data = []; 93 $this->db->table($this->mytable.'_search')->where('inputtime <'. (SYS_TIME - 3600))->delete(); 94 } 95 96 $is_like = intval($this->module['setting']['search']['is_like']); 97 98 // 缓存不存在重新入库更新缓存 99 if (!$data) { 100 -
/www/wwwroot/xyanglao.com/dayrui/App/Module/Extends/Home/Module.php : 145 — Phpcmf\Model\Module\Search->get_data ()
138 'params' => $get, 139 'keyword' => $get['keyword'], 140 'contentid' => 0, 141 'inputtime' => SYS_TIME 142 ]; 143 } else { 144 // 搜索数据 145 $data = $search->get_data(); 146 if (isset($data['code']) && $data['code'] == 0 && $data['msg']) { 147 $this->_msg(0, $data['msg']); 148 } 149 unset($data['params']['page']); 150 } 151 152 // 格式化数据 -
/www/wwwroot/xyanglao.com/dayrui/App/Hospital/Controllers/Search.php : 14 — Phpcmf\Home\Module->_Search ()
7 class Search extends \Phpcmf\Home\Module 8 { 9 10 public function index() { 11 // 初始化模块 12 $this->_module_init(); 13 // 调用搜索方法 14 $this->_Search(); 15 } 16 17 } 18 -
/www/wwwroot/xyanglao.com/dayrui/System/Extend/Run.php : 149 — Phpcmf\Controllers\Search->index ()
142 'value' => $value 143 ]); 144 145 } 146 } 147 } 148 149 $app->$method(); 150 151 if (CI_DEBUG) { 152 $tool = new \CodeIgniter\Debug\Toolbar(config(\Config\Toolbar::class)); 153 $tool->prepare($this); 154 } 155 156 -
/www/wwwroot/xyanglao.com/dayrui/System/Init.php : 404 — Frame\Run->bootWeb ()
397 $tool->respond(); 398 }); 399 } 400 401 402 // 启动框架 403 $run = new \Frame\Run(); 404 $run->bootWeb(); 405 406 -
require /www/wwwroot/xyanglao.com/dayrui/Fcms/Init.php — require()
-
require /www/wwwroot/xyanglao.com/public/index.php — require()
-
require /www/wwwroot/xyanglao.com/public/mobile/index.php — require()