-
/www/wwwroot/damaxinge.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/damaxinge.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/damaxinge.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/damaxinge.com/dayrui/Fcms/Core/View.php : 1372 — CodeIgniter\Database\BaseConnection->query ()
1365 $sql = str_replace($this->_select_rt_name, 'sum('.$system['sum'].') as ct', $sql); 1366 break; 1367 } 1368 } 1369 1370 // 执行SQL 1371 $t = microtime(TRUE); 1372 $query = $mysql->query($sql); 1373 $time = microtime(TRUE) - $t; 1374 1375 // 记录慢日志 1376 if ($time > 1 && is_file(WRITEPATH.'database/sql.lock')) { 1377 $file = WRITEPATH.'database/Sql/sql.txt'; 1378 $path = dirname($file); 1379 if (!is_dir($path)) { -
/www/wwwroot/damaxinge.com/dayrui/App/Module/Action/Module.php : 314 — Phpcmf\View->_query ()
307 if ($system['num']) { 308 $this->_list_error[] = '存在page参数时,num参数将会无效'; 309 } 310 $pagesize = (int)$system['pagesize']; 311 !$pagesize && $pagesize = 10; 312 // 数据量 313 $sql = "SELECT count(*) as c FROM $sql_from " . ($sql_where ? "WHERE $sql_where" : "") . " ORDER BY NULL"; 314 $row = $this->_query($sql, $system, FALSE); 315 $total = (int)$row['c']; 316 if ($system['maxlimit'] && $total > $system['maxlimit']) { 317 $total = $system['maxlimit']; // 最大限制 318 if ($page * $pagesize > $total) { 319 $return_data = $this->_return($system['return'], 'maxlimit设置最大显示'.$system['maxlimit'].'条,当前('.($page * $pagesize).')已超出', $sql, 0); 320 return; 321 } -
require /www/wwwroot/damaxinge.com/dayrui/Fcms/Core/View.php — require()
-
/www/wwwroot/damaxinge.com/cache/template/_DS_www_DS_wwwroot_DS_damaxinge.com_DS_template_DS_pc_DS_default_DS_home_DS_index_data.html.cache.php : 2 — Phpcmf\View->list_tag ()
1<!--用于首页瀑布列调用的写法--> 2 <?php $return = [];$list_return = $this->list_tag("action=module module=news order=updatetime page=1 maxlimit=100"); 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; ?> 3 <div class="el-card ep-mb-16"> 4 <div class="el-card__body"> 5 <div class="ep-list-item ep-list-item--flush"> 6 <!--begin::Icon--> 7 <img class="mobile-hidden ep-thumb" src="<?php echo dr_thumb($t['thumb']); ?>" alt="" /> 8 <div class="ep-flex-grow"> 9 <h3 class="ep-article-title"> 10 <a href="<?php echo $t['url']; ?>"><?php echo $t['title']; ?></a> 11 </h3> 12 <p class="ep-list-desc"> 13 <?php echo dr_strcut($t['description'], 80); ?> 14 </p> 15 <div class="ep-meta"> -
include /www/wwwroot/damaxinge.com/cache/template/_DS_www_DS_wwwroot_DS_damaxinge.com_DS_template_DS_pc_DS_default_DS_home_DS_index.html.cache.php — include()
-
include /www/wwwroot/damaxinge.com/dayrui/Fcms/Core/View.php — include()
-
/www/wwwroot/damaxinge.com/dayrui/Fcms/Control/Home.php : 21 — Phpcmf\View->display ()
14 15 ob_start(); 16 \Phpcmf\Service::V()->assign([ 17 'indexc' => 1, 18 'fix_html_now_url' => defined('IS_MOBILE') && IS_MOBILE ? SITE_MURL : SITE_URL, 19 ]); 20 \Phpcmf\Service::V()->assign(\Phpcmf\Service::L('Seo')->index()); 21 \Phpcmf\Service::V()->display('index.html'); 22 $html = ob_get_clean(); 23 24 // 开启过首页静态时 25 if ($this->site_info[SITE_ID]['SITE_INDEX_HTML'] && !defined('SC_HTML_FILE')) { 26 if (IS_CLIENT) { 27 // 自定义终端 28 $file = \Phpcmf\Service::L('html')->get_webpath(SITE_ID, 'site', IS_CLIENT.'/index.html'); -
/www/wwwroot/damaxinge.com/dayrui/Fcms/Control/Home.php : 60 — Phpcmf\Control\Home->_index ()
53 $this->_json(0, '禁止提交,请检查提交地址是否有误'); 54 } 55 56 // 挂钩点 网站首页时 57 \Phpcmf\Hooks::trigger('cms_index'); 58 \Phpcmf\Service::L('Router')->is_redirect_url(dr_url_prefix('/'), 1); 59 60 $this->_index(); 61 } 62 63 /** 64 * 404 页面 65 */ 66 public function s404() { 67 if (IS_DEV) { -
/www/wwwroot/damaxinge.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/damaxinge.com/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/damaxinge.com/dayrui/Fcms/Init.php — require()
-
require /www/wwwroot/damaxinge.com/public/index.php — require()