mirror of
https://github.com/dannyvankooten/AltoRouter.git
synced 2025-08-06 08:27:39 +02:00
Remove unused alteration of $_REQUEST
superglobal. Closes #104
This commit is contained in:
@@ -170,10 +170,6 @@ class AltoRouter {
|
|||||||
$requestMethod = isset($_SERVER['REQUEST_METHOD']) ? $_SERVER['REQUEST_METHOD'] : 'GET';
|
$requestMethod = isset($_SERVER['REQUEST_METHOD']) ? $_SERVER['REQUEST_METHOD'] : 'GET';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Force request_order to be GP
|
|
||||||
// http://www.mail-archive.com/internals@lists.php.net/msg33119.html
|
|
||||||
$_REQUEST = array_merge($_GET, $_POST);
|
|
||||||
|
|
||||||
foreach($this->routes as $handler) {
|
foreach($this->routes as $handler) {
|
||||||
list($method, $_route, $target, $name) = $handler;
|
list($method, $_route, $target, $name) = $handler;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user