From e5e2fd3f52e25b9e721a79b2f6173f18989e9523 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Mon, 6 Jan 2020 13:32:08 +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 2a27f5b..37e6b14 100644 --- a/functions.php +++ b/functions.php @@ -6,7 +6,7 @@ function getpath() $p = strpos($_SERVER['REQUEST_URI'],'?'); if ($p>0) $path = substr($_SERVER['REQUEST_URI'], 0, $p); else $path = $_SERVER['REQUEST_URI']; - $path = path_format(substr($path, strlen($_SERVER['base_path'])).'/'); + $path = path_format( substr($path, strlen($_SERVER['base_path'])) ); return $path; //return spurlencode($path, '/'); }