From 5bb6668fbc1b8b26ae8f551a263c299372bca57f Mon Sep 17 00:00:00 2001
From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com>
Date: Mon, 2 Mar 2020 17:27:01 +0800
Subject: [PATCH] Update normal.php
---
function/normal.php | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
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 .= '';