-
/www/wwwroot/4008510809.com/dayrui/System/Database/BaseConnection.php : 621 — CodeIgniter\Database\BaseConnection->initialize ()
614 * @todo BC set $queryClass default as null in 4.1 615 */ 616 public function query(string $sql, $binds = null, bool $setEscapeFlags = true, string $queryClass = '') 617 { 618 $queryClass = $queryClass !== '' && $queryClass !== '0' ? $queryClass : $this->queryClass; 619 620 if (empty($this->connID)) { 621 $this->initialize(); 622 } 623 624 /** 625 * @var Query $query 626 */ 627 $query = new $queryClass($this); 628 -
/www/wwwroot/4008510809.com/dayrui/System/Database/BaseBuilder.php : 1733 — CodeIgniter\Database\BaseConnection->query ()
1726 $sql = $this->compileSelect($this->countString . $this->db->protectIdentifiers('numrows')); 1727 } 1728 1729 if ($this->testMode) { 1730 return $sql; 1731 } 1732 1733 $result = $this->db->query($sql, $this->binds, false); 1734 1735 if ($reset) { 1736 $this->resetSelect(); 1737 } elseif (! isset($this->QBOrderBy)) { 1738 $this->QBOrderBy = $orderBy; 1739 } 1740 -
/www/wwwroot/4008510809.com/dayrui/Fcms/Core/Model.php : 245 — CodeIgniter\Database\BaseBuilder->countAllResults ()
238 // 分组 239 $this->param['group'] && $builder->groupBy($this->param['group']); 240 241 $where && $builder->where($where); 242 243 $this->_clear(); 244 245 return $builder->countAllResults(); 246 } 247 248 // 插入数据 249 public function insert($data) { 250 251 $this->db->table($this->table)->insert($data); 252 $rt = $this->db->error(); -
/www/wwwroot/4008510809.com/dayrui/App/Weblog/Models/Log.php : 174 — Phpcmf\Model->counts ()
167 } 168 if (isset($post['data']['password']) && $post['data']['password']) { 169 $post['data']['password'] = '****'; 170 } 171 172 !$config['max'] && $config['max'] = 500000; 173 if ($config['max']) { 174 $rs = $this->table('app_web_log')->counts(); 175 if ($rs > $config['max']) { 176 $this->query('delete from `'.$this->dbprefix('app_web_log').'` order by id asc limit 1000'); 177 } 178 } 179 180 $data = [ 181 'domain' => strtolower($_SERVER['HTTP_HOST']), -
/www/wwwroot/4008510809.com/dayrui/App/Weblog/Models/Log.php : 21 — Phpcmf\Model\Weblog\Log->_save_log ()
14 return; 15 } 16 17 if (is_cli()) { 18 return; 19 } 20 21 $this->_save_log(FC_NOW_URL); 22 } 23 24 public function html($url) { 25 $this->_save_log($url); 26 } 27 28 // 禁止访问 -
/www/wwwroot/4008510809.com/dayrui/App/Weblog/Config/Hooks.php : 4 — Phpcmf\Model\Weblog\Log->run ()
1<?php 2 3 \Phpcmf\Hooks::on('cms_init', function() { 4 \Phpcmf\Service::M('log', 'weblog')->run(); 5 }); 6 7 \Phpcmf\Hooks::on('cms_end', function($rt) { 8 \Phpcmf\Service::M('log', 'weblog')->end($rt); 9 }); -
{PHP internal code} — Phpcmf\Service::{closure:/www/wwwroot/4008510809.com/dayrui/App/Weblog/Config/Hooks.php:3} ()
-
/www/wwwroot/4008510809.com/dayrui/Fcms/Core/Hooks.php : 337 — call_user_func()
-
/www/wwwroot/4008510809.com/dayrui/Fcms/Core/Phpcmf.php : 472 — Phpcmf\Hooks::trigger ()
465 466 // 插件目录初始化(排除用户系统重复触发) 467 if (APP_DIR && APP_DIR != 'member') { 468 $this->init_file(APP_DIR); 469 } 470 471 // 挂钩点 程序初始化之后 472 \Phpcmf\Hooks::trigger('cms_init'); 473 } 474 475 /** 476 * 插件目录初始化文件 477 */ 478 public function init_file($namespace) { 479 -
/www/wwwroot/4008510809.com/dayrui/Fcms/Core/Phpcmf.php : 442 — Phpcmf\Common->_init_run ()
435 } else { 436 $this->_msg(0, dr_lang('账号被锁定')); 437 } 438 } 439 } 440 441 // 加载初始化文件 442 $this->_init_run(); 443 } 444 445 /** 446 * 加载初始化文件 447 */ 448 private function _init_run() { 449 -
/www/wwwroot/4008510809.com/dayrui/System/Extend/Run.php : 115 — Phpcmf\Common->__construct ()
108 109 $class = $namespace.'\\'.$controller; 110 if (! class_exists($class)) { 111 throw \CodeIgniter\Exceptions\PageNotFoundException::forControllerNotFound($class); 112 exit('<font color=red>控制器不存在</font>'); 113 } 114 115 $app = new $class; 116 117 if (! method_exists($app, $method)) { 118 throw \CodeIgniter\Exceptions\PageNotFoundException::forMethodNotFound($class, $method); 119 exit('<font color=red>方法不存在</font>'); 120 } 121 122 if (IS_POST && SYS_CSRF) { -
/www/wwwroot/4008510809.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/4008510809.com/dayrui/Fcms/Init.php — require()
-
require /www/wwwroot/4008510809.com/public/index.php — require()