-
/www/wwwroot/www.weirongshop.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/www.weirongshop.com/dayrui/Fcms/Core/View.php : 1613 — CodeIgniter\Database\BaseConnection->query ()
1606 $sql = str_replace($this->_select_rt_name, 'sum('.$system['sum'].') as ct', $sql); 1607 break; 1608 } 1609 } 1610 1611 // 执行SQL 1612 $t = microtime(TRUE); 1613 $query = $mysql->query($sql); 1614 $time = microtime(TRUE) - $t; 1615 1616 // 记录慢日志 1617 if ($time > 1 && is_file(WRITEPATH.'database/sql.lock')) { 1618 $file = WRITEPATH.'database/Sql/sql.txt'; 1619 $path = dirname($file); 1620 if (!is_dir($path)) { -
/www/wwwroot/www.weirongshop.com/dayrui/App/Cms/Action/Module.php : 405 — Phpcmf\View->_query ()
398 $system['num'] = 100; 399 $sql_limit = dr_module_sql_limit(100); 400 $this->_list_error[] = '未设置num/page参数,已自动限制为最多返回100条,请在标签中显式设置num'; 401 $sql = "SELECT {$select} FROM $sql_from {$where_sql}{$order_sql} {$sql_limit}"; 402 } 403 } 404 405 $data = $this->_query($sql, $system); 406 if ($need_reverse_rows && is_array($data) && $data) { 407 $data = array_values(array_reverse($data)); 408 } 409 410 // 缓存查询结果 411 if (is_array($data) && $data) { 412 // 模块表的系统字段 -
require /www/wwwroot/www.weirongshop.com/dayrui/Fcms/Core/View.php — require()
-
/www/wwwroot/www.weirongshop.com/cache/template/_DS_www_DS_wwwroot_DS_www.weirongshop.com_DS_template_DS_pc_DS_jingge_DS_home_DS_index.html.cache.php : 222 — Phpcmf\View->list_tag ()
215 <!-- 官方公告 --> 216 <div class="news-card"> 217 <div class="news-header"> 218 <h5>官方公告</h5> 219 <a href="<?php echo dr_cat_value(5, 'url'); ?>" class="news-more">更多 »</a> 220 </div> 221 <ul class="news-list"> 222 <?php $return = [];$list_return = $this->list_tag("action=module module=news catid=5 order=updatetime num=10"); 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; ?> 223 <li> 224 <span class="news-id"><?php echo $key + 1; ?></span> 225 <span class="news-date"><?php echo dr_date($t['_updatetime'], 'Y-m-d'); ?></span> 226 <a href="<?php echo $t['url']; ?>"><?php echo $t['title']; ?></a> 227 </li> 228 <?php } } ?> 229 </ul> -
include /www/wwwroot/www.weirongshop.com/dayrui/Fcms/Core/View.php — include()
-
/www/wwwroot/www.weirongshop.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/www.weirongshop.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/www.weirongshop.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/www.weirongshop.com/dayrui/Fcms/Core/Hooks.php : 269 — call_user_func()
-
/www/wwwroot/www.weirongshop.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/www.weirongshop.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/www.weirongshop.com/dayrui/System/Init.php : 408 — Frame\Run->bootWeb ()
401 $tool->respond(); 402 }); 403 } 404 405 406 // 启动框架 407 $run = new \Frame\Run(); 408 $run->bootWeb(); 409 410 -
require /www/wwwroot/www.weirongshop.com/dayrui/Fcms/Init.php — require()
-
require /www/wwwroot/www.weirongshop.com/public/index.php — require()