Update index.php
This commit is contained in:
@@ -28,6 +28,7 @@ function main($path)
|
|||||||
global $exts;
|
global $exts;
|
||||||
global $constStr;
|
global $constStr;
|
||||||
config_oauth();
|
config_oauth();
|
||||||
|
if (!isset($_SERVER['base_path'])) $_SERVER['base_path'] = '/';
|
||||||
if ($_SERVER['base_path']=='') $_SERVER['base_path'] = '/';
|
if ($_SERVER['base_path']=='') $_SERVER['base_path'] = '/';
|
||||||
$_SERVER['list_path'] = getListpath($_SERVER['HTTP_HOST']);
|
$_SERVER['list_path'] = getListpath($_SERVER['HTTP_HOST']);
|
||||||
if ($_SERVER['list_path']=='') $_SERVER['list_path'] = '/';
|
if ($_SERVER['list_path']=='') $_SERVER['list_path'] = '/';
|
||||||
|
|||||||
Reference in New Issue
Block a user