diff --git a/function/scf.php b/function/scf.php index 978eaac56c487a176743af2287dc31cd8ec2a7f3..7aaa7113943635b85305cd5016659f1fb46d3e3b 100644 --- a/function/scf.php +++ b/function/scf.php @@ -132,9 +132,9 @@ function install() setConfig($tmp); if (needUpdate()) { updateProgram($_SERVER['function_name'], $_SERVER['Region'], $_SERVER['namespace'], $SecretId, $SecretKey); - return message('update to github version, reinstall.', 'Program updating', 201); + return message('update to github version, reinstall.', 'Program updating', 201); } - return output('Jump', 302); + return output('Jump', 302); } if ($_GET['install1']) { //if ($_POST['admin']!='') { @@ -166,7 +166,7 @@ function install() function notnull(t) { if (t.admin.value==\'\') { - alert(\'Input admin\'); + alert(\''.getconstStr('SetAdminPassword').'\'); return false; } return true;