数据缓存失败,/www/wwwroot/www.xiaozhi.com/cache/data文件夹的读写权限设置为777!

619.      $res = '<?php die();?>'.$res;
620.      $r file_put_contents($cache_file_data,$res);
621.      if($r){
622.          return true;
623.      }else{
624.          Error_msg('数据缓存失败,'.Cache_Path.'/data文件夹的读写权限设置为777!');
625.      }
626. 
627.      
628.  }
629. 
310.          //读Hook数据缓存
311.          $hookconfig getCache('hook');
312.          if(!$hookconfig){
313.              //Hook插件注册--缓存整个插件表数据
314.              $hookconfig M('hook')->findAll(array('isopen'=>1),'orders desc');
315.              setCache('hook',$hookconfig);
316.          }
317.          
318.          if($hookconfig){
319.              //['module'=>APP_HOME,'controller'=>APP_CONTROLLER,'action'=>APP_ACTION]
320.              foreach($hookconfig as $v){
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()
464. 
465.  // 加载配置文件
466.  $config = require(APP_PATH 'conf/config.php');
467. 
468.  //实例化核心类
469.  (new frphp($config))->run();
47. 
48.  //定义静态文件路径
49.  define('Tpl_style','/static/');
50. 
51.  // 加载框架文件
52.  require(APP_PATH 'frphp/fr.php');
53. 
54.  // 就这么简单~
55.