數據緩存失敗,/webHome/host0154599/www/cache/data文件夾的讀寫權限設置為777!
- /webHome/host0154599/www/frphp/common/Functions.php on line 630
625.
$res = '<?php die();?>'.$res;
626.
$r = file_put_contents($cache_file_data,$res);
627.
if($r){
628.
return true;
629.
}else{
630.
631.
Error_msg('數據緩存失敗,'.Cache_Path.'/data文件夾的讀寫權限設置為777!');
}
632.
633.
634.
}
635.
- /webHome/host0154599/www/conf/Functions.php on line 338
333.
$d[$v['id']]['url'] = get_domain().$htmlpath.'/'.$v['htmlurl'].$file_txt;
334.
}
335.
336.
}
337.
338.
339.
setCache('classtype',$d,$cache_time);
return $d;
340.
}
341.
return $res;
342.
343.
- /webHome/host0154599/www/app/home/c/CommonController.php on line 44
39.
$m = 1;
40.
if(isMobile() && $webconf['iswap']==1){
41.
$classtypedata = classTypeDataMobile();
42.
$m = 1;
43.
}else{
44.
45.
$classtypedata = classTypeData();
$m = 0;
46.
}
47.
$this->classtypetree = $classtypedata;
48.
$this->classtypedata = getclasstypedata($classtypedata,$m);
49.
$this->common = Tpl_style.'common/';
- /webHome/host0154599/www/app/home/plugins/MutiwebController.php on line 24
19.
20.
class MutiwebController extends CommonController
21.
{
22.
23.
function _init(){
24.
25.
parent::_init();
//檢查當前是否為多語言區域
26.
$langs = M('lang')->findAll();
27.
$islang = [];
28.
$web = 'cn';
29.
$url = current_url();
- /webHome/host0154599/www/frphp/lib/Controller.php on line 43
38.
}else{
39.
define('LANG',APP_LANG);
40.
}
41.
42.
$this->_view = new View(APP_CONTROLLER, APP_ACTION);
43.
44.
$this->_init();
45.
}
46.
// 自動調用方法
47.
public function _init(){
48.
- /webHome/host0154599/www/frphp/fr.php on line 322
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.
323.
$newhook = new $newhook_controller($param);
$hook_action = $v['hook_action'];
324.
$newhook->$hook_action($param);
325.
$newhook = null;
326.
}
327.
- /webHome/host0154599/www/frphp/fr.php on line 94
89.
spl_autoload_register(array($this, 'loadClass'));
90.
$this->setDbConfig();
91.
$this->setReporting();
92.
$this->removeMagicQuotes();
93.
//$this->unregisterGlobals();
94.
95.
$this->route();
96.
}
97.
98.
// 路由處理
99.
public function route()
- /webHome/host0154599/www/frphp/fr.php on line 461
456.
457.
// 加載配置文件
458.
$config = require(APP_PATH . 'conf/config.php');
459.
460.
//實例化核心類
461.
(new frphp($config))->run();
- /webHome/host0154599/www/index.php on line 52
47.
48.
//定義靜態文件路徑
49.
define('Tpl_style','/static/');
50.
51.
// 加載框架文件
52.
53.
require(APP_PATH . 'frphp/fr.php');
54.
// 就這么簡單~
55.