Update index.php

This commit is contained in:
qkqpttgf
2020-01-03 18:10:22 +08:00
committed by GitHub
parent ad6703ca40
commit dafd3624c1
+1
View File
@@ -28,6 +28,7 @@ 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'] = '/';