无法找到视图文件,页面模板:default/article/article-details.html
- /www/wwwroot/exam.abrsmcn.com/frphp/lib/View.php on line 81
76.
//检测其是否可读可写
77.
78.
79.
80.
} else {
81.
82.
Error_msg('无法找到视图文件,页面模板:'.$name.'.html');
}
83.
84.
85.
86.
}
- /www/wwwroot/exam.abrsmcn.com/frphp/lib/Controller.php on line 62
57.
}
58.
59.
// 渲染视图
60.
public function display($name=null)
61.
{
62.
63.
$this->_view->render($name);
}
64.
65.
// 获取URL参数值
66.
public function frparam($str=null, $int=0,$default = FALSE, $method = null){
67.
- /www/wwwroot/exam.abrsmcn.com/application/home/c/HomeController.php on line 741
736.
}
737.
if(!$this->type['details_html']){
738.
$details_html = M('molds')->getField(['biaoshi'=>$this->type['molds']],'details_html');
739.
$this->type['details_html'] = str_replace('.html','',$details_html);
740.
}
741.
742.
$this->display($this->template.'/'.$this->type['molds'].'/'.$this->type['details_html']);
743.
}
744.
//搜索--单一模块搜索
745.
function search(){
746.
$tables = explode('|',$this->webconf['search_table']);
- /www/wwwroot/exam.abrsmcn.com/application/home/c/HomeController.php on line 188
183.
184.
if(isset($id)){
185.
186.
//默认是详情页-非详情页另做处理
187.
$this->id = $id;
188.
189.
$this->jizhi_details($this->id);
if(!$this->frparam('ajax')){
190.
$this->end_cache($this->cache_file);
191.
}
192.
193.
}
- /www/wwwroot/exam.abrsmcn.com/frphp/fr.php on line 336
331.
}
332.
333.
}
334.
}
335.
$dispatch = new $controller($param);
336.
337.
$dispatch->$actionName($param);
338.
339.
340.
341.
}
- /www/wwwroot/exam.abrsmcn.com/frphp/fr.php on line 93
88.
spl_autoload_register(array($this, 'loadClass'));
89.
$this->setDbConfig();
90.
$this->setReporting();
91.
$this->removeMagicQuotes();
92.
//$this->unregisterGlobals();
93.
94.
$this->route();
95.
}
96.
97.
// 路由处理
98.
public function route()
- /www/wwwroot/exam.abrsmcn.com/frphp/fr.php on line 466
461.
462.
// 加载配置文件
463.
$config = require(APP_PATH . 'conf/config.php');
464.
465.
//实例化核心类
466.
(new FrPHP($config))->run();
- /www/wwwroot/exam.abrsmcn.com/index.php on line 50
45.
46.
//定义静态文件路径
47.
define('Tpl_style','/static/');
48.
49.
// 加载框架文件
50.
51.
require(APP_PATH . 'frphp/fr.php');
52.
// 就这么简单~
53.