ShuanghongS 6 hónapja
szülő
commit
a35db72895
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      main_new_version.php

+ 2 - 2
main_new_version.php

@@ -24,7 +24,7 @@ include 'service/AIClientFactory.php';
 //为了调用,临时做一个登录动作  如果是正式版 要注释掉菜单System Settings
  //$_POST['uname'] = "ra.admin";
  //$_POST['psw'] = common::excuteOneSql("select ra_password from public.ra_online_user where user_login = 'ra.admin'");
-//  $name =strpos(common::ip(), "192.168.0.158") !== false || strpos(common::ip(), "192.168.0.161s") !== false ? "dddde" : 'ra.admin';
+//  $name =strpos(common::ip(), "192.168.0.158") !== false || strpos(common::ip(), "192.168.0.161") !== false ? "dddde" : 'ra.admin';
 //  $_POST['uname'] = $name;
 //  $_POST['psw'] = common::excuteOneSql("select ra_password from public.ra_online_user where user_login = '".$name."'");
 //  login::getInstance()->do_login_auto();
@@ -108,7 +108,7 @@ switch ($action) {
             //只有chud的账户可以看日志记录
             if(_getLoginName() == "chud" || _getLoginName() == "IT.Andywu" || _getLoginName() == "ra.admin"){
                 $children[] = array("index" =>$index.'-3',"label" =>"Operation Log","path"=>"/Operationlog");
-                //$children[] = array("index" =>$index.'-4',"label" =>"Prompt Configuration","path"=>"/PromptConfiguration");  
+                $children[] = array("index" =>$index.'-4',"label" =>"Prompt Configuration","path"=>"/PromptConfiguration");  
             }
             $systemManagement["children"] = $children;
             if (!empty($children)){