-
/www/wwwroot/taozhaigs.com/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/taozhaigs.com/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/taozhaigs.com/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/taozhaigs.com/dayrui/System/Database/BaseConnection.php : 1608 — CodeIgniter\Database\BaseConnection->query ()
1601 if ($this->DBDebug) { 1602 throw new DatabaseException('This feature is not available for the database you are using.'); 1603 } 1604 1605 return false; 1606 } 1607 1608 $query = $this->query($sql); 1609 1610 $this->dataCache['field_names'][$table] = []; 1611 1612 foreach ($query->getResultArray() as $row) { 1613 // Do we know from where to get the column's name? 1614 if (! isset($key)) { 1615 if (isset($row['column_name'])) { -
/www/wwwroot/taozhaigs.com/dayrui/Fcms/Model/Table.php : 930 — CodeIgniter\Database\BaseConnection->getFieldNames ()
923 /* 924 * $paytable字段主键为 自定义字段rname-rid 925 * */ 926 } 927 928 // 获取字段结构 929 public function get_field($table) { 930 return $this->db->getFieldNames($this->dbprefix($table)); 931 } 932 933 // 获取缓存的字段结构 934 public function get_cache_field($table) { 935 936 $tableinfo = \Phpcmf\Service::L('cache')->get('table-'.SITE_ID); 937 if (!$tableinfo) { -
/www/wwwroot/taozhaigs.com/dayrui/App/Tag/Action/Tag.php : 6 — Phpcmf\Model\Table->get_field ()
1<?php 2 3 $system['table'] = $system['site'].'_tag'; 4 $tableinfo = \Phpcmf\Service::L('cache')->get_data('table-'.$system['table']); 5 if (!$tableinfo) { 6 $tableinfo = \Phpcmf\Service::M('Table')->get_field($system['table']); 7 \Phpcmf\Service::L('cache')->set_data('table-'.$system['table'], $tableinfo, 36000); 8 } 9 if (!$tableinfo) { 10 return $this->_return($system['return'], '表('.$system['table'].')结构不存在'); 11 } 12 13 // 是否操作自定义where 14 if ($param['where']) { 15 $where[] = [ -
require /www/wwwroot/taozhaigs.com/dayrui/Fcms/Core/View.php — require()
-
/www/wwwroot/taozhaigs.com/cache/template/_DS_www_DS_wwwroot_DS_taozhaigs.com_DS_template_DS_pc_DS_default_DS_home_DS_index.html.cache.php : 131 — Phpcmf\View->list_tag ()
124 <?php $return = [];$list_return = $this->list_tag("action=module module=news catid=4 order=updatetime num=8"); if ($list_return && is_array($list_return)) { extract($list_return, EXTR_OVERWRITE); } $count=dr_count($return); if (is_array($return) && $return) { $key=-1; foreach ($return as $t) { $key++; $is_first=$key==0 ? 1 : 0;$is_last=$count==$key+1 ? 1 : 0; ?> 125 <li><a title="<?php echo $t['title']; ?>" href="<?php echo $t['url']; ?>" target="_blank"><?php echo $t['title']; ?></a></li> 126 <?php } } ?> 127 </ul> 128 </div> 129 <div class="right-list"> 130 <div class="w-newsitem"><h3>标签</h3></div> 131 <div class="tagcloud"><?php $return = [];$list_return = $this->list_tag("action=tag num=20"); if ($list_return && is_array($list_return)) { extract($list_return, EXTR_OVERWRITE); } $count=dr_count($return); if (is_array($return) && $return) { $key=-1; foreach ($return as $t) { $key++; $is_first=$key==0 ? 1 : 0;$is_last=$count==$key+1 ? 1 : 0; ?><a href="<?php echo $t['url']; ?>"><?php echo $t['name']; ?></a><?php } } ?> 132 </div> 133 </div> 134 <div class="right-list-ad"></div> 135 </div> 136 </div> 137 </div> 138 <div class="footer"> -
include /www/wwwroot/taozhaigs.com/dayrui/Fcms/Core/View.php — include()
-
/www/wwwroot/taozhaigs.com/dayrui/Fcms/Control/Html.php : 24 — Phpcmf\View->display ()
17 ob_start(); 18 \Phpcmf\Service::V()->assign([ 19 'is_cms' => 1, 20 'indexc' => 1, 21 'fix_html_now_url' => defined('IS_MOBILE') && IS_MOBILE ? SITE_MURL : SITE_URL, 22 ]); 23 \Phpcmf\Service::V()->assign($this->_index_seo()); 24 \Phpcmf\Service::V()->display('index.html'); 25 $html = ob_get_clean(); 26 27 // 开启过首页静态时 28 if ($this->site_info[SITE_ID]['SITE_INDEX_HTML'] && !defined('SC_HTML_FILE')) { 29 if (IS_CLIENT) { 30 // 自定义终端 31 $file = dr_is_app('chtml') ? \Phpcmf\Service::L('html', 'chtml')->get_webpath(SITE_ID, 'site', IS_CLIENT.'/index.html') : WEBPATH.IS_CLIENT.'/index.html'; -
/www/wwwroot/taozhaigs.com/dayrui/Fcms/Control/Html.php : 64 — Phpcmf\Control\Html->_index_page ()
57 } 58 59 // 挂钩点 网站首页时 60 \Phpcmf\Hooks::trigger_callback('cms_index'); 61 62 \Phpcmf\Service::L('Router')->is_redirect_url(dr_url_prefix('/'), 1); 63 64 $this->_index_page(); 65 } 66 67 68 69 // 生成静态 70 public function html() { 71 -
/www/wwwroot/taozhaigs.com/dayrui/App/Cms/Config/Hooks.php : 15 — Phpcmf\Control\Html->index ()
8 $ref = new \ReflectionClass(\Phpcmf\Control\Html::class); 9 $c = $ref->newInstanceWithoutConstructor(); 10 // 同步当前控制器的 public 属性(site_info、member 等) 11 foreach (get_object_vars($ci) as $key => $value) { 12 $c->$key = $value; 13 } 14 if (method_exists($c, 'index')) { 15 $c->index(); 16 return dr_return_data(1, 'ok'); 17 } 18 } 19 20 }); 21 22 \Phpcmf\Hooks::on('module_content_after', function($data, $old) { -
{PHP internal code} — Phpcmf\Service::{closure:/www/wwwroot/taozhaigs.com/dayrui/App/Cms/Config/Hooks.php:3} ()
-
/www/wwwroot/taozhaigs.com/dayrui/Fcms/Core/Hooks.php : 269 — call_user_func()
-
/www/wwwroot/taozhaigs.com/dayrui/Fcms/Control/Home.php : 18 — Phpcmf\Hooks::trigger_callback ()
11 public function index() { 12 13 if (IS_POST) { 14 $this->_json(0, '禁止提交,请检查提交地址是否有误'); 15 } 16 17 // 挂钩点 网站首页时 18 $rs = \Phpcmf\Hooks::trigger_callback('index_page'); 19 if ($rs && isset($rs['code'])) { 20 // 存在返回动作不加载模板 21 } else { 22 \Phpcmf\Service::L('Router')->is_redirect_url(dr_url_prefix('/'), 1); 23 24 \Phpcmf\Service::V()->assign([ 25 'indexc' => 1, -
/www/wwwroot/taozhaigs.com/dayrui/System/Extend/Run.php : 149 — Phpcmf\Control\Home->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/taozhaigs.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/taozhaigs.com/dayrui/Fcms/Init.php — require()
-
require /www/wwwroot/taozhaigs.com/public/index.php — require()