数据缓存失败,D:\wwwroot\hzx-logistics.com/cache/data文件夹的读写权限设置为777!

625.      $res = '<?php die();?>'.$res;
626.      $r file_put_contents($cache_file_data,$res);
627.      if($r){
628.          return true;
629.      }else{
630.          Error_msg('数据缓存失败,'.Cache_Path.'/data文件夹的读写权限设置为777!');
631.      }
632. 
633.      
634.  }
635. 
311.          //读Hook数据缓存
312.          $hookconfig getCache('hook');
313.          if(!$hookconfig){
314.              //Hook插件注册--缓存整个插件表数据
315.              $hookconfig M('hook')->findAll(array('isopen'=>1),'orders desc');
316.              setCache('hook',$hookconfig);
317.          }
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)){
89.          spl_autoload_register(array($this'loadClass'));
90.          $this->setDbConfig();
91.          $this->setReporting();
92.          $this->removeMagicQuotes();
93.          //$this->unregisterGlobals();
94.          $this->route();
95.          
96.      }
97. 
98.      // 路由处理
99.      public function route()
457. 
458.  // 加载配置文件
459.  $config = require(APP_PATH 'conf/config.php');
460. 
461.  //实例化核心类
462.  (new frphp($config))->run();
47. 
48.  //定义静态文件路径
49.  define('Tpl_style','/static/');
50. 
51.  // 加载框架文件
52.  require(APP_PATH 'frphp/fr.php');
53. 
54.  // 就这么简单~
55.