System update (developers cut)
This commit is contained in:
parent
d4267c61c5
commit
2b8adbaab8
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue