數據緩存失敗,/webHome/host0154599/www/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/';
19. 
20.  class MutiwebController extends CommonController
21.  {
22.      
23.      function _init(){
24.          parent::_init();
25.          //檢查當前是否為多語言區域
26.          $langs M('lang')->findAll();
27.          $islang = [];
28.          $web 'cn';
29.          $url current_url();
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.          
317.          
318.          if($hookconfig){
319.              foreach($hookconfig as $v){
320.                  if("app\\".$v['module']==$app_home && $v['controller']==APP_CONTROLLER && (strpos(','.$v['action'].',',','.APP_ACTION.',')!==false || $v['all_action']==1)){
321.                      $newhook_controller '\\app\\'.$v['module'].'\\plugins\\'.$v['hook_controller'].'Controller';
322.                      $newhook = new $newhook_controller($param);
323.                      $hook_action $v['hook_action'];
324.                      $newhook->$hook_action($param);
325.                      $newhook null;
326.                  }
327.              
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();
47. 
48.  //定義靜態文件路徑
49.  define('Tpl_style','/static/');
50. 
51.  // 加載框架文件
52.  require(APP_PATH 'frphp/fr.php');
53. 
54.  // 就這么簡單~
55. 
中文无码乱人伦中文视频在线_亚洲成av人片现线观看_亚洲色无码播放亚洲成av_亚洲超清无码制服丝袜无广告