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); }