-
/www/wwwroot/www.mian-du.cn/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.mian-du.cn/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/www.mian-du.cn/dayrui/Fcms/Core/Model.php : 241 — CodeIgniter\Database\BaseBuilder->countAllResults ()
234 // 分组 235 $this->param['group'] && $builder->groupBy($this->param['group']); 236 237 $where && $builder->where($where); 238 239 $this->_clear(); 240 241 return $builder->countAllResults(); 242 } 243 244 // 插入数据 245 public function insert($data) { 246 247 $this->db->table($this->table)->insert($data); 248 $rt = $this->db->error(); -
/www/wwwroot/www.mian-du.cn/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/www.mian-du.cn/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/www.mian-du.cn/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/www.mian-du.cn/dayrui/Fcms/Core/Hooks.php : 337 — call_user_func()
-
/www/wwwroot/www.mian-du.cn/dayrui/Fcms/Core/Phpcmf.php : 466 — Phpcmf\Hooks::trigger ()
459 // 用户系统初始化 460 (IS_MEMBER || APP_DIR == 'member') && $this->init_file('member'); 461 462 // 插件目录初始化(排除用户系统重复触发) 463 APP_DIR && APP_DIR != 'member' && $this->init_file(APP_DIR); 464 465 // 挂钩点 程序初始化之后 466 \Phpcmf\Hooks::trigger('cms_init'); 467 } 468 469 /** 470 * 插件目录初始化文件 471 */ 472 public function init_file($namespace) { 473 -
/www/wwwroot/www.mian-du.cn/dayrui/Fcms/Core/Phpcmf.php : 440 — Phpcmf\Common->_init_run ()
433 } else { 434 $this->_msg(0, dr_lang('账号被锁定')); 435 } 436 } 437 } 438 439 // 加载初始化文件 440 $this->_init_run(); 441 } 442 443 /** 444 * 加载初始化文件 445 */ 446 private function _init_run() { 447 -
/www/wwwroot/www.mian-du.cn/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/www.mian-du.cn/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.mian-du.cn/dayrui/Fcms/Init.php — require()
-
require /www/wwwroot/www.mian-du.cn/public/index.php — require()