数据缓存失败,/usr/home/qxu1193160039/htdocs/cache/data文件夹的读写权限设置为777!
- /usr/home/qxu1193160039/htdocs/frphp/common/Functions.php on line 630
625.
$res = '<?php die();?>'.$res;
626.
$r = file_put_contents($cache_file_data,$res);
627.
if($r){
628.
return true;
629.
}else{
630.
631.
Error_msg('数据缓存失败,'.Cache_Path.'/data文件夹的读写权限设置为777!');
}
632.
633.
634.
}
635.
- /usr/home/qxu1193160039/htdocs/frphp/fr.php on line 315
310.
//读Hook数据缓存
311.
$hookconfig = getCache('hook');
312.
if(!$hookconfig){
313.
//Hook插件注册--缓存整个插件表数据
314.
$hookconfig = M('hook')->findAll(array('isopen'=>1),'orders desc');
315.
316.
setCache('hook',$hookconfig);
}
317.
318.
if($hookconfig){
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)){
- /usr/home/qxu1193160039/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()
- /usr/home/qxu1193160039/htdocs/frphp/fr.php on line 461
456.
457.
// 加载配置文件
458.
$config = require(APP_PATH . 'conf/config.php');
459.
460.
//实例化核心类
461.
(new frphp($config))->run();
- /usr/home/qxu1193160039/htdocs/index.php on line 52
47.
48.
//定义静态文件路径
49.
define('Tpl_style','/static/');
50.
51.
// 加载框架文件
52.
53.
require(APP_PATH . 'frphp/fr.php');
54.
// 就这么简单~
55.