无法找到视图文件,页面模板:qisu/article/article-details.html.php
- D:\wwwroot\ahzkjn.com\frphp\lib\View.php on line 72
67.
$controllerLayout = str_replace(File_TXT,'.html',$controllerLayout);
68.
if (file_exists($controllerLayout)) {
69.
$this->template($controllerLayout);
70.
}else{
71.
$f = strpos($name,File_TXT)!==false ? $name : $name.File_TXT;
72.
73.
Error_msg('无法找到视图文件,页面模板:'.$f);
}
74.
75.
}
76.
77.
- D:\wwwroot\ahzkjn.com\frphp\lib\Controller.php on line 67
62.
}
63.
64.
// 渲染视图
65.
public function display($name=null)
66.
{
67.
68.
$this->_view->render($name);
}
69.
70.
// 获取URL参数值
71.
public function frparam($str=null, $int=0,$default = FALSE, $method = null){
72.
- D:\wwwroot\ahzkjn.com\app\home\c\HomeController.php on line 724
719.
}
720.
if(!$this->type['details_html']){
721.
$details_html = M('molds')->getField(['biaoshi'=>$this->type['molds']],'details_html');
722.
$this->type['details_html'] = str_replace('.html','',$details_html);
723.
}
724.
725.
$this->display($this->template.'/'.$this->type['molds'].'/'.$this->type['details_html']);
726.
}
727.
728.
729.
//搜索--单一模块搜索
- D:\wwwroot\ahzkjn.com\app\home\c\HomeController.php on line 186
181.
182.
if(isset($id)){
183.
184.
//默认是详情页-非详情页另做处理
185.
$this->id = $id;
186.
187.
$this->jizhi_details($this->id);
if(!$this->frparam('ajax')){
188.
$this->end_cache($this->cache_file);
189.
}
190.
191.
}
- D:\wwwroot\ahzkjn.com\frphp\fr.php on line 335
330.
}
331.
332.
}
333.
}
334.
$dispatch = new $controller($param);
335.
336.
$dispatch->$actionName($param);
337.
338.
339.
340.
}
- D:\wwwroot\ahzkjn.com\frphp\fr.php on line 94
89.
spl_autoload_register(array($this, 'loadClass'));
90.
$this->setDbConfig();
91.
$this->setReporting();
92.
$this->removeMagicQuotes();
93.
//$this->unregisterGlobals();
94.
95.
$this->route();
96.
}
97.
98.
// 路由处理
99.
public function route()
- D:\wwwroot\ahzkjn.com\frphp\fr.php on line 520
515.
//定义静态文件路径
516.
defined('Tpl_style') or define('Tpl_style', '/static/');
517.
}
518.
header_remove('X-Powered-By');
519.
//实例化核心类
520.
(new frphp($config))->run();
- D:\wwwroot\ahzkjn.com\index.php on line 17
12.
13.
// 应用目录为当前目录
14.
define('APP_PATH', __DIR__ . '/');
15.
define('ADMIN_MODEL','admins');
16.
// 加载框架文件
17.
18.
require(APP_PATH . 'frphp/fr.php');
19.
// 就这么简单~
20.