数据缓存失败,D:\wwwroot\hzx-logistics.com/cache/data文件夹的读写权限设置为777!
- D:\wwwroot\hzx-logistics.com\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.
- D:\wwwroot\hzx-logistics.com\frphp\fr.php on line 316
311.
//读Hook数据缓存
312.
$hookconfig = getCache('hook');
313.
if(!$hookconfig){
314.
//Hook插件注册--缓存整个插件表数据
315.
$hookconfig = M('hook')->findAll(array('isopen'=>1),'orders desc');
316.
317.
setCache('hook',$hookconfig);
}
318.
319.
if($hookconfig){
320.
foreach($hookconfig as $v){
321.
if("app\\".$v['module']==$app_home && $v['controller']==APP_CONTROLLER && (strpos(','.$v['action'].',',','.APP_ACTION.',')!==false || $v['all_action']==1)){
- D:\wwwroot\hzx-logistics.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()
- D:\wwwroot\hzx-logistics.com\frphp\fr.php on line 462
457.
458.
// 加载配置文件
459.
$config = require(APP_PATH . 'conf/config.php');
460.
461.
//实例化核心类
462.
(new frphp($config))->run();
- D:\wwwroot\hzx-logistics.com\index.php on line 52
47.
48.
//定义静态文件路径
49.
define('Tpl_style','/static/');
50.
51.
// 加载框架文件
52.
53.
require(APP_PATH . 'frphp/fr.php');
54.
// 就这么简单~
55.