Browse Source

System update (developers cut)

markseu 9 years ago
parent
commit
2b8adbaab8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      system/plugins/core.php

+ 2 - 1
system/plugins/core.php

@@ -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);
 	}