-
/www/wwwroot/www.dr599.com/dayrui/Fcms/Core/Model.php : 508 — CodeIgniter\Database\BaseConnection->table ()
501 502 /* 503 * 获取单个数据 504 * 主键 505 * */ 506 public function get($id) { 507 508 $query = $this->db->table($this->table)->where($this->key, (int)$id)->get(); 509 if (!$query) { 510 $this->_clear(); 511 return []; 512 } 513 514 $rt = $query->getRowArray(); 515 $this->_clear(); -
/www/wwwroot/www.dr599.com/dayrui/App/Cms/Models/Content.php : 1052 — Phpcmf\Model->get ()
1045 $row = $this->table($table)->get($id); 1046 if (!$row) { 1047 // 主表不存在尝试判断分表 1048 $index = $this->table($table.'_index')->get($id); 1049 if (!$index) { 1050 return []; 1051 } 1052 $row = $this->table(dr_module_ctable($table, dr_cat_value($index['catid'])))->get($id); 1053 if (!$row) { 1054 return []; 1055 } 1056 } 1057 } 1058 1059 } -
/www/wwwroot/www.dr599.com/dayrui/App/Cms/Extends/Home/Module.php : 507 — Phpcmf\Model\Cms\Content->get_data ()
500 $id = md5($param['field'].$param['value']); 501 $is_id = 0; 502 } 503 504 $name = 'module_'.$this->module['dirname'].'_show_id_'.$id.($this->is_mobile ? '_m' : '').($page > 1 ? '_p'.$page : ''); 505 $data = \Phpcmf\Service::L('cache')->get_data($name); 506 if (!$data) { 507 $data = $this->content_model->get_data($is_id ? $id : 0, 0, $param); 508 if (!$data) { 509 $this->goto_404_page(dr_lang('%s内容(#%s)不存在', $this->module['name'], $id)); 510 return; 511 } 512 513 // 检测转向字段 514 if (!$rt) { -
/www/wwwroot/www.dr599.com/dayrui/Fcms/Control/Show.php : 34 — Phpcmf\Home\Module->_Show ()
27 $this->goto_404_page(dr_lang('无法通过id找到共享模块的模块目录')); 28 } 29 30 // 初始化模块 31 $this->_module_init($mid); 32 33 // 调用内容方法 34 $this->_Show($id, null, max(1, (int)\Phpcmf\Service::L('input')->get('page'))); 35 } 36 37 } 38 -
/www/wwwroot/www.dr599.com/dayrui/System/Extend/Run.php : 149 — Phpcmf\Control\Show->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.dr599.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/www.dr599.com/dayrui/Fcms/Init.php — require()
-
require /www/wwwroot/www.dr599.com/public/index.php — require()