try fix & in base_path in FC
parent
bab19ae9d3
commit
9381bcaab3
|
@ -46,6 +46,7 @@ function GetPathSetting($event, $context)
|
||||||
if ($path=='/'||$path=='') {
|
if ($path=='/'||$path=='') {
|
||||||
$_SERVER['base_path'] = $tmp;
|
$_SERVER['base_path'] = $tmp;
|
||||||
} else {
|
} else {
|
||||||
|
$tmp = str_replace('&', '&', $tmp);
|
||||||
while ($tmp!=urldecode($tmp)) $tmp = urldecode($tmp);
|
while ($tmp!=urldecode($tmp)) $tmp = urldecode($tmp);
|
||||||
$tmp1 = urldecode($event['path']);
|
$tmp1 = urldecode($event['path']);
|
||||||
while ($tmp1!=urldecode($tmp1)) $tmp1 = urldecode($tmp1);
|
while ($tmp1!=urldecode($tmp1)) $tmp1 = urldecode($tmp1);
|
||||||
|
|
Loading…
Reference in New Issue