无法找到视图文件,页面模板:cms/app/app-details.html.php
- /data/user/htdocs/frphp/lib/View.php on line 73
68.
$controllerLayout = str_replace(File_TXT,'.html',$controllerLayout);
69.
if (file_exists($controllerLayout)) {
70.
$this->template($controllerLayout);
71.
}else{
72.
$f = strpos($name,File_TXT)!==false ? $name : $name.File_TXT;
73.
74.
Error_msg('无法找到视图文件,页面模板:'.$f);
}
75.
76.
}
77.
78.
- /data/user/htdocs/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.
- /data/user/htdocs/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.
//搜索--单一模块搜索
- /data/user/htdocs/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.
}
- /data/user/htdocs/frphp/fr.php on line 321
316.
}
317.
318.
}
319.
}
320.
$dispatch = new $controller($param);
321.
322.
$dispatch->$actionName($param);
323.
324.
325.
326.
}
- /data/user/htdocs/frphp/fr.php on line 84
79.
spl_autoload_register(array($this, 'loadClass'));
80.
$this->setDbConfig();
81.
$this->setReporting();
82.
$this->removeMagicQuotes();
83.
//$this->unregisterGlobals();
84.
85.
$this->route();
86.
}
87.
88.
// 路由处理
89.
public function route()
- /data/user/htdocs/frphp/fr.php on line 451
446.
447.
// 加载配置文件
448.
$config = require(APP_PATH . 'conf/config.php');
449.
450.
//实例化核心类
451.
(new frphp($config))->run();
- /data/user/htdocs/index.php on line 41
36.
37.
//定义静态文件路径
38.
define('Tpl_style','/static/');
39.
40.
// 加载框架文件
41.
42.
require(APP_PATH . 'frphp/fr.php');
43.
// 就这么简单~
44.