测试代码高亮
view = 'admin';
define('APP_WWW', 'http://app.hyphp.cn/');
define("APP_KEY", $this->conf['key']);
if(!IS_LOGIN){
header('Location: '.WWW.'user'.EXP.'login');
//exit('请登录前台!');
exit;
}
if(NOW_GROUP != C("ADMIN_GROUP"))
exit('你不是管理员!');
session('[start]');
$md5 = session('admin');
//echo $md5.'|';
if(empty($md5)){
$this->login();
exit();
}
$this->menu_action = array(
'index'=>'',
'forum'=>'',
'user'=>'',
'thread'=>'',
'view'=>'',
'op'=>'',
'code'=>''
);
$this->v("menu_action",$this->menu_action);
}
pnthsuarhcjq
发表于 2个月前
view = 'admin'; define('APP_WWW', 'http://app.hyphp.cn/'); define("APP_KEY", $this->conf['key']); if(!IS_LOGIN){ header('Location: '.WWW.'user'.EXP.'login'); //exit('请登录前台!'); exit; } if(NOW_GROUP != C("ADMIN_GROUP")) exit('你不是管理员!'); session('[start]'); $md5 = session('admin'); //echo $md5.'|'; if(empty($md5)){ $this->login(); exit(); } $this->menu_action = array( 'index'=>'', 'forum'=>'', 'user'=>'', 'thread'=>'', 'view'=>'', 'op'=>'', 'code'=>'' ); $this->v("menu_action",$this->menu_action); }
评论列表
加载数据中...