威尼斯·澳门人-WWW.WS88.COM|官方网站-Venice Dream City

数据缓存失败,D:\www/cache/data文件夹的读写权限设置为777!

625.      $res = '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_CONTROLLERAPP_ACTION);
43.          $this->_init();
44.          
45.      }
46.      // 自动调用方法
47.      public function _init(){
48.          
325.                      $newhook null;
326.                  }
327.              
328.              }
329.          }
330.          $dispatch = new $controller($param);
331.          $dispatch->$actionName($param);
332.         
333.          
334.          
335.          
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()
456. 
457.  // 加载配置文件
458.  $config = require(APP_PATH 'conf/config.php');
459. 
460.  //实例化核心类
461.  (new frphp($config))->run();
52. 
53.  //定义静态文件路径
54.  define('Tpl_style','/static/');
55. 
56.  // 加载框架文件
57.  require(APP_PATH 'frphp/fr.php');
58. 
59.  // 就这么简单~
60.