From f1a6d2821ec161e224e0683afbdc4631f066681c Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Thu, 2 Apr 2020 18:23:58 +0800 Subject: [PATCH] Update common.php --- common.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.php b/common.php index 2967e4b..66ca147 100644 --- a/common.php +++ b/common.php @@ -483,8 +483,8 @@ function equal_replace($str, $add = false) function is_guestup_path($path) { - $a1 = path_format(path_format(urldecode($_SERVER['list_path'].path_format($path))).'/') - $a2 = path_format(path_format(getConfig('guestup_path')).'/') + $a1 = path_format(path_format(urldecode($_SERVER['list_path'].path_format($path))).'/'); + $a2 = path_format(path_format(getConfig('guestup_path')).'/'); if (getConfig('guestup_path')!=''&&strtolower($a1)==strtolower($a2)) return 1; return 0; }