無法找到視圖文件,頁面模板:cn/tags-details.php
- /www/wwwroot/js-sailingwell.com.cn/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.
- /www/wwwroot/js-sailingwell.com.cn/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.
- /www/wwwroot/js-sailingwell.com.cn/app/home/c/TagsController.php on line 75
70.
71.
JsonReturn(['code'=>0,'data'=>$data]);
72.
}
73.
74.
75.
76.
$this->display($this->template.'/tags-details');
}else{
77.
78.
$sql = ' isshow=1 and newname is null ';
79.
$page = new Page('tags');
80.
- /www/wwwroot/js-sailingwell.com.cn/frphp/fr.php on line 339
334.
}
335.
336.
}
337.
}
338.
$dispatch = new $controller($param);
339.
340.
$dispatch->$actionName($param);
341.
342.
343.
344.
}
- /www/wwwroot/js-sailingwell.com.cn/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()
- /www/wwwroot/js-sailingwell.com.cn/frphp/fr.php on line 469
464.
465.
// 加載配置文件
466.
$config = require(APP_PATH . 'conf/config.php');
467.
468.
//實例化核心類
469.
(new frphp($config))->run();
- /www/wwwroot/js-sailingwell.com.cn/index.php on line 52
47.
48.
//定義靜態文件路徑
49.
define('Tpl_style','/static/');
50.
51.
// 加載框架文件
52.
53.
require(APP_PATH . 'frphp/fr.php');
54.
// 就這么簡單~
55.