System update (developers cut)

This commit is contained in:
markseu 2016-03-20 00:17:01 +01:00
parent d4267c61c5
commit 2b8adbaab8

View file

@ -2400,8 +2400,9 @@ class YellowToolbox
}
// Check if location contains location arguments
function isLocationArgs($location)
function isLocationArgs($location = "")
{
$location = empty($location) ? $_SERVER["LOCATION"].$_SERVER["LOCATION_ARGS"] : $location;
$separator = $this->getLocationArgsSeparator();
return preg_match("/[^\/]+$separator.*$/", $location);
}