-
/www/wwwroot/www.chzlib.org.cn/dayrui/System/Database/MySQLi/Connection.php : 327 — mysqli->query ()
320 $this->connID->next_result(); 321 if ($res = $this->connID->store_result()) { 322 $res->free(); 323 } 324 } 325 326 try { 327 return $this->connID->query($this->prepQuery($sql), $this->resultMode); 328 } catch (mysqli_sql_exception $e) { 329 log_message('error', (string) $e); 330 331 if ($this->DBDebug) { 332 throw new DatabaseException($e->getMessage(), $e->getCode(), $e); 333 } 334 } -
/www/wwwroot/www.chzlib.org.cn/dayrui/System/Database/BaseConnection.php : 729 — CodeIgniter\Database\MySQLi\Connection->execute ()
722 */ 723 public function simpleQuery(string $sql) 724 { 725 if (empty($this->connID)) { 726 $this->initialize(); 727 } 728 729 return $this->execute($sql); 730 } 731 732 /** 733 * Disable Transactions 734 * 735 * This permits transactions to be disabled at run-time. 736 * -
/www/wwwroot/www.chzlib.org.cn/dayrui/System/Database/BaseConnection.php : 646 — CodeIgniter\Database\BaseConnection->simpleQuery ()
639 640 return $query; 641 } 642 643 // Run the query for real 644 try { 645 $exception = null; 646 $this->resultID = $this->simpleQuery($query->getQuery()); 647 } catch (DatabaseException $exception) { 648 $this->resultID = false; 649 } 650 651 if ($this->resultID === false) { 652 $query->setDuration($startTime, $startTime); 653 -
/www/wwwroot/www.chzlib.org.cn/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/www.chzlib.org.cn/dayrui/App/Module/Models/Search.php : 94 — CodeIgniter\Database\BaseBuilder->delete ()
87 $time = SYS_CACHE_SEARCH * 3600; 88 if ($data && $data['inputtime'] + $time < SYS_TIME) { 89 $data = []; 90 } 91 $this->db->table($this->mytable.'_search')->where('inputtime <'. (SYS_TIME - $time))->delete(); 92 } else { 93 $data = []; 94 $this->db->table($this->mytable.'_search')->where('inputtime <'. (SYS_TIME - 3600))->delete(); 95 } 96 97 // 缓存不存在重新入库更新缓存 98 if (!$data) { 99 100 $this->get['keyword'] = $this->get['catid'] = null; 101 unset($this->get['keyword'], $this->get['catid']); -
/www/wwwroot/www.chzlib.org.cn/dayrui/App/Module/Extends/Home/Module.php : 147 — Phpcmf\Model\Module\Search->get_data ()
140 'params' => $get, 141 'keyword' => $get['keyword'], 142 'contentid' => 0, 143 'inputtime' => SYS_TIME 144 ]; 145 } else { 146 // 搜索数据 147 $data = $search->get_data(); 148 if (isset($data['code']) && $data['code'] == 0 && $data['msg']) { 149 $this->_msg(0, $data['msg']); 150 } 151 unset($data['params']['page']); 152 } 153 154 // 格式化数据 -
/www/wwwroot/www.chzlib.org.cn/dayrui/App/Inews/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/www.chzlib.org.cn/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/www.chzlib.org.cn/dayrui/System/Init.php : 402 — Frame\Run->bootWeb ()
395 $tool->respond(); 396 }); 397 } 398 399 400 // 启动框架 401 $run = new \Frame\Run(); 402 $run->bootWeb(); 403 404 -
require /www/wwwroot/www.chzlib.org.cn/dayrui/Fcms/Init.php — require()
-
require /www/wwwroot/www.chzlib.org.cn/public/index.php — require()