diff --git a/function/normal.php b/function/normal.php index 1953922..7cf20b3 100644 --- a/function/normal.php +++ b/function/normal.php @@ -171,7 +171,7 @@ function get_refresh_token() if ($_GET['install0']) { if ($_POST['disktag_add']!='' && ($_POST['Onedrive_ver']=='MS' || $_POST['Onedrive_ver']=='CN' || $_POST['Onedrive_ver']=='MSC')) { if (in_array($_COOKIE['disktag'], $CommonEnv)) { - return message('Do not input ' . $envs . '
', 'Error', 201); + return message('Do not input ' . $envs . '
', 'Error', 201); } $_SERVER['disktag'] = $_COOKIE['disktag']; $tmp['disktag_add'] = $_POST['disktag_add']; @@ -187,7 +187,7 @@ function get_refresh_token() if (!$response) { $html = $response . '
Can not write config to file.
-'; +'; $title = 'Error'; } return message($html, $title, 201); @@ -252,7 +252,7 @@ function install() if (!$response) { $html = $response . '
Can not write config to file.
-'; +'; $title = 'Error'; return message($html, $title, 201); } else { @@ -343,11 +343,11 @@ function EnvOpt($function_name, $needUpdate = 0) function_name:' . $_SERVER['function_name'] . '
Region:' . $_SERVER['Region'] . '
namespace:' . $namespace . '
-'; +'; $title = 'Error'; } else { $html .= getconstStr('UpdateSuccess') . '
-'; +'; $title = getconstStr('Setup'); } return message($html, $title); @@ -372,7 +372,7 @@ namespace:' . $namespace . '
$response = setConfig($tmp, $_SERVER['disk_oprating']); if (!$response) { $html = $response . '
-'; +'; $title = 'Error'; } else { $html .= '';