From e37dfcf48ec19bb88f6702eae0c1ca330521244f Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Thu, 2 Jan 2020 09:19:46 +0800 Subject: [PATCH] Update functions.php --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index f685f76..3159a8d 100644 --- a/functions.php +++ b/functions.php @@ -108,7 +108,7 @@ function spurlencode($str,$splite='') function is_guestup_path($path) { - if (path_format('/'.path_format(urldecode($_SERVER['list_path'].path_format($path))).'/')==path_format('/'.path_format(getConfig('imgup_path')).'/')&&getConfig('imgup_path')!='') return 1; + if (path_format('/'.path_format(urldecode($_SERVER['list_path'].path_format($path))).'/')==path_format('/'.path_format(getConfig('guestup_path')).'/')&&getConfig('guestup_path')!='') return 1; return 0; }