|
|
@@ -20,9 +20,9 @@ include 'service/login.class.php';
|
|
|
include 'service/tools.class.php';
|
|
|
|
|
|
//为了调用,临时做一个登录动作
|
|
|
-// $_POST['uname'] = "ra.admin";
|
|
|
-// $_POST['psw'] = common::excuteOneSql("select ra_password from public.ra_online_user where user_login = 'ra.admin'");
|
|
|
-// login::getInstance()->do_login_auto();
|
|
|
+ $_POST['uname'] = "ra.admin";
|
|
|
+ $_POST['psw'] = common::excuteOneSql("select ra_password from public.ra_online_user where user_login = 'ra.admin'");
|
|
|
+ login::getInstance()->do_login_auto();
|
|
|
//验证路由权限
|
|
|
common::securityCheckHandNew($action);
|
|
|
if (_is_only_vgm()) {
|
|
|
@@ -103,7 +103,7 @@ switch ($action) {
|
|
|
if(_getLoginName() == "chud" || _getLoginName() == "IT.Andywu" || _getLoginName() == "ra.admin"){
|
|
|
$children[] = array("index" =>$index.'-1',"label" =>"Operation Log","path"=>"/Operationlog");
|
|
|
}
|
|
|
- //$children[] = array("index" =>$index.'-2',"label" =>"System Settings","path"=>"/SystemSettings");
|
|
|
+ $children[] = array("index" =>$index.'-2',"label" =>"System Settings","path"=>"/SystemSettings");
|
|
|
$systemManagement["children"] = $children;
|
|
|
if (!empty($children)){
|
|
|
$menuList[] = $systemManagement;
|