数据缓存失败,C:\wwwroot\sz-kms.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. 
333.                  $d[$v['id']]['url'] = get_domain().$htmlpath.'/'.$v['htmlurl'].$file_txt;
334.              }
335.              
336.          }
337.          
338.          setCache('classtype',$d,$cache_time);
339.          return $d;
340.      }
341.      return $res;
342.      
343.      
39.          $m = 1;
40.          if(isMobile() && $webconf['iswap']==1){
41.              $classtypedata = classTypeDataMobile();
42.              $m = 1;
43.          }else{
44.              $classtypedata = classTypeData();
45.              $m = 0;
46.          }
47.          $this->classtypetree = $classtypedata;
48.          $this->classtypedata = getclasstypedata($classtypedata,$m);
49.          $this->common = Tpl_style.'common/';
38.          }else{
39.              define('LANG',APP_LANG);
40.          }
41.          
42.          $this->_view = new View(APP_CONTROLLER, APP_ACTION);
43.          $this->_init();
44.          
45.      }
46.      // 自动调用方法
47.      public function _init(){
48.          
315.                      $newhook = null;
316.                  }
317.              
318.              }
319.          }
320.          $dispatch = new $controller($param);
321.          $dispatch->$actionName($param);
322.         
323.          
324.          
325.          
79.          spl_autoload_register(array($this, 'loadClass'));
80.          $this->setDbConfig();
81.          $this->setReporting();
82.          $this->removeMagicQuotes();
83.          //$this->unregisterGlobals();
84.          $this->route();
85.          
86.      }
87. 
88.      // 路由处理
89.      public function route()
446. 
447.  // 加载配置文件
448.  $config = require(APP_PATH . 'conf/config.php');
449. 
450.  //实例化核心类
451.  (new frphp($config))->run();
36. 
37.  //定义静态文件路径
38.  define('Tpl_style','/static/');
39. 
40.  // 加载框架文件
41.  require(APP_PATH . 'frphp/fr.php');
42. 
43.  // 就这么简单~
44.