无法找到视图文件,页面模板:ypangnet/404.html
- /www/wwwroot/www.ypangmosaictile.com/frphp/lib/View.php on line 66
61.
$controllerLayout = str_ireplace(['//','\\'],'/',$controllerLayout);
62.
//判断视图文件是否存在
63.
if (file_exists($controllerLayout)) {
64.
$this->template($controllerLayout);
65.
} else {
66.
67.
Error_msg('无法找到视图文件,页面模板:'.$name.File_TXT);
}
68.
69.
70.
71.
}
- /www/wwwroot/www.ypangmosaictile.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.
- /www/wwwroot/www.ypangmosaictile.com/app/home/c/HomeController.php on line 997
992.
}
993.
994.
exit;
995.
}
996.
header("HTTP/1.0 404");
997.
998.
$this->display($this->template.'/404');
$this->end_cache($this->cache_file);
999.
exit;
1000.
}
1001.
1002.
//开启检查缓存
- /www/wwwroot/www.ypangmosaictile.com/app/home/c/HomeController.php on line 605
600.
601.
//详情
602.
function jizhi_details($id){
603.
604.
if(!$id){
605.
606.
$this->error(JZLANG('缺少ID!'));
}
607.
if(isset($_SESSION['admin']) && $_SESSION['admin']['id']!=0){
608.
$details = M($this->type['molds'])->find(array('id'=>$id,'tid'=>$this->type['id']));
609.
}else{
610.
$details = M($this->type['molds'])->find(array('id'=>$id,'isshow'=>1,'tid'=>$this->type['id']));
- /www/wwwroot/www.ypangmosaictile.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.
}
- /www/wwwroot/www.ypangmosaictile.com/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/www.ypangmosaictile.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()
- /www/wwwroot/www.ypangmosaictile.com/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/www.ypangmosaictile.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.