Update index.php

pull/13/head
qkqpttgf 2020-01-05 16:53:21 +08:00 committed by GitHub
parent 0ca43b99f0
commit 84c270490b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -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);