-
D:\WwwRoot\dtdata.cn\dayrui\System\Extend\Model.php : 19 — CodeIgniter\Database\Config::connect ( arguments )
$groupdefault
12 static function _load_db() { 13 14 // 数据库 15 if (self::$db) { 16 return [self::$db, self::$db->DBPrefix]; 17 } 18 19 self::$db = \Config\Database::connect('default'); 20 21 return [self::$db, self::$db->DBPrefix]; 22 } 23 24 static function _load_db_source($name) { 25 26 // 数据库 -
D:\WwwRoot\dtdata.cn\dayrui\Fcms\Core\Model.php : 43 — Frame\Model::_load_db ()
36 37 protected $date_field; 38 protected $param; 39 protected $init; 40 41 public function __construct() { 42 43 list($this->db, $this->prefix) = \Frame\Model::_load_db(); 44 45 $this->uid = \Phpcmf\Service::C()->uid; 46 $this->site = \Phpcmf\Service::C()->site; 47 $this->admin = \Phpcmf\Service::C()->admin; 48 $this->member = \Phpcmf\Service::C()->member; 49 $this->siteid = defined('SITE_ID') ? SITE_ID : 0; 50 } -
D:\WwwRoot\dtdata.cn\dayrui\Fcms\Core\Service.php : 422 — Phpcmf\Model->__construct ()
415 if (class_exists($newClassName2)) { 416 static::$instances[$_cname] = new $newClassName2(); 417 return static::$instances[$_cname]; 418 } 419 } 420 } 421 422 static::$instances[$_cname] = new $newClassName(); 423 } 424 425 return static::$instances[$_cname]; 426 } 427 428 /** 429 * 引用应用的helper -
D:\WwwRoot\dtdata.cn\dayrui\Fcms\Core\Phpcmf.php : 312 — Phpcmf\Service::M ( arguments )
$namemember
305 } 306 } 307 } elseif (dr_is_app('httpapi') && \Phpcmf\Service::L('input')->request('appid')) { 308 define('IS_API_HTTP', 1); 309 \Phpcmf\Service::M('http', 'httpapi')->check_auth(); 310 } else { 311 define('IS_API_HTTP', 0); 312 $this->uid = (int)\Phpcmf\Service::M('member')->member_uid(); 313 $this->member = \Phpcmf\Service::M('member')->get_member($this->uid); 314 if (!$this->member) { 315 $this->uid = 0; 316 } 317 // 验证账号cookie的有效性 318 if ($this->member && !\Phpcmf\Service::M('member')->check_member_cookie($this->member)) { 319 $this->uid = 0; -
D:\WwwRoot\dtdata.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) { -
D:\WwwRoot\dtdata.cn\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 D:\WwwRoot\dtdata.cn\dayrui\Fcms\Init.php — require()
-
require D:\WwwRoot\dtdata.cn\index.php — require()