-
include /www/wwwroot/x2diy.com/dayrui/Fcms/Core/View.php — include()
-
/www/wwwroot/x2diy.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/x2diy.com/dayrui/Fcms/Control/Html.php : 65 — Phpcmf\Control\Html->_index_page ()
58 59 60 // 挂钩点 网站首页时 61 \Phpcmf\Hooks::trigger_callback('cms_index'); 62 63 \Phpcmf\Service::L('Router')->is_redirect_url(dr_url_prefix('/'), 1); 64 65 $this->_index_page(); 66 } 67 68 69 70 // 生成静态 71 public function html() { 72 -
/www/wwwroot/x2diy.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 * 模块首页地址 -
{PHP internal code} — Phpcmf\Service::{closure} ()
-
/www/wwwroot/x2diy.com/dayrui/Fcms/Core/Hooks.php : 269 — call_user_func()
-
/www/wwwroot/x2diy.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/x2diy.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/x2diy.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/x2diy.com/dayrui/Fcms/Init.php — require()
-
require /www/wwwroot/x2diy.com/public/index.php — require()