From 84c270490b16d6b263d53eca1e32b52113fa012f Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Sun, 5 Jan 2020 16:53:21 +0800 Subject: [PATCH] Update index.php --- index.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/index.php b/index.php index b58ba96..f3a6267 100644 --- a/index.php +++ b/index.php @@ -28,8 +28,6 @@ function main($path) global $exts; global $constStr; config_oauth(); - if (!isset($_SERVER['base_path'])) $_SERVER['base_path'] = '/'; - if ($_SERVER['base_path']=='') $_SERVER['base_path'] = '/'; $_SERVER['list_path'] = getListpath($_SERVER['HTTP_HOST']); if ($_SERVER['list_path']=='') $_SERVER['list_path'] = '/'; $_SERVER['is_guestup_path'] = is_guestup_path($path);