From 6383864bb674fa752bdbb53c1c2956d6150cd7ec Mon Sep 17 00:00:00 2001
From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com>
Date: Fri, 26 Nov 2021 14:54:39 +0800
Subject: [PATCH] short fix back link when spacialChar
---
common.php | 13 ++-----------
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git a/common.php b/common.php
index 07fdb1a..14bb5af 100644
--- a/common.php
+++ b/common.php
@@ -1396,19 +1396,10 @@ function EnvOpt($needUpdate = 0)
}
} else return message('please login again', 'Need login', 403);
- if (isset($_GET['preview'])) {
- $preurl = $_SERVER['PHP_SELF'] . '?preview';
- } else {
- $preurl = path_format($_SERVER['PHP_SELF'] . '/');
- }
$html .= '
-' . getconstStr('Back') . '
+' . getconstStr('Back') . '
';
if ($_GET['setup']==='cmd') {