無法找到視圖文件,頁面模板:cl/article/yyzz-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參數(shù)值
71.
public function frparam($str=null, $int=0,$default = FALSE, $method = null){
72.
- /data/user/htdocs/app/home/plugins/MutiwebController.php on line 553
548.
}
549.
if(!$this->type['details_html']){
550.
$details_html = M('molds')->getField(['biaoshi'=>$this->type['molds']],'details_html');
551.
$this->type['details_html'] = str_replace('.html','',$details_html);
552.
}
553.
554.
$this->display($this->template.'/'.$this->type['molds'].'/'.$this->type['details_html']);
555.
}
556.
557.
//搜索--單一模塊搜索
558.
function search(){
- /data/user/htdocs/app/home/plugins/MutiwebController.php on line 214
209.
}
210.
if(isset($id) && $id){
211.
212.
//默認(rèn)是詳情頁-非詳情頁另做處理
213.
$this->id = $id;
214.
215.
$this->jizhi_details($this->id);
if(!$this->frparam('ajax')){
216.
$this->end_cache($this->cache_file);
217.
}
218.
219.
}
- /data/user/htdocs/frphp/fr.php on line 324
319.
foreach($hookconfig as $v){
320.
if("app\\".$v['module']==$app_home && $v['controller']==APP_CONTROLLER && (strpos(','.$v['action'].',',','.APP_ACTION.',')!==false || $v['all_action']==1)){
321.
$newhook_controller = '\\app\\'.$v['module'].'\\plugins\\'.$v['hook_controller'].'Controller';
322.
$newhook = new $newhook_controller($param);
323.
$hook_action = $v['hook_action'];
324.
325.
$newhook->$hook_action($param);
$newhook = null;
326.
}
327.
328.
}
329.
}
- /data/user/htdocs/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()
- /data/user/htdocs/frphp/fr.php on line 461
456.
457.
// 加載配置文件
458.
$config = require(APP_PATH . 'conf/config.php');
459.
460.
//實(shí)例化核心類
461.
(new frphp($config))->run();
- /data/user/htdocs/index.php on line 52
47.
48.
//定義靜態(tài)文件路徑
49.
define('Tpl_style','/static/');
50.
51.
// 加載框架文件
52.
53.
require(APP_PATH . 'frphp/fr.php');
54.
// 就這么簡單~
55.