-----------------------------------------------------------------*/ //不能非法包含或直接执行 if (!defined("IN_BAIGO")) { exit("Access Denied"); } include_once BG_PATH_FUNC . "init.func.php"; //初始化 $arr_set = array("base" => true, "ssin" => true, "header" => "Content-Type: text/html; charset=utf-8", "db" => true, "type" => "ctl", "ssin_begin" => true); fn_init($arr_set); include_once BG_PATH_INC . "is_install.inc.php"; //验证是否已安装 include_once BG_PATH_INC . "is_admin.inc.php"; //验证是否已登录 include_once BG_PATH_CONTROL . "admin/ctl/verify.class.php"; //载入验证控制器 $ctl_verify = new CONTROL_VERIFY(); //初始化验证 switch ($GLOBALS["act_get"]) { case "show": $arr_verifyRow = $ctl_verify->ctl_show(); //显示 if ($arr_verifyRow["alert"] != "y120302") { header("Location: " . BG_URL_ADMIN . "ctl.php?mod=alert&act_get=show&alert=" . $arr_verifyRow["alert"]); exit; } break; default: $arr_verifyRow = $ctl_verify->ctl_list(); //列出 if ($arr_verifyRow["alert"] != "y120302") { header("Location: " . BG_URL_ADMIN . "ctl.php?mod=alert&act_get=show&alert=" . $arr_verifyRow["alert"]);