try fix & in base_path in FC

This commit is contained in:
qkqpttgf
2021-10-15 17:26:29 +08:00
committed by GitHub
parent bab19ae9d3
commit 9381bcaab3
+1
View File
@@ -46,6 +46,7 @@ function GetPathSetting($event, $context)
if ($path=='/'||$path=='') {
$_SERVER['base_path'] = $tmp;
} else {
$tmp = str_replace('&', '&', $tmp);
while ($tmp!=urldecode($tmp)) $tmp = urldecode($tmp);
$tmp1 = urldecode($event['path']);
while ($tmp1!=urldecode($tmp1)) $tmp1 = urldecode($tmp1);