1
0
mirror of https://github.com/dannyvankooten/AltoRouter.git synced 2025-08-03 15:07:43 +02:00

Remove unused alteration of $_REQUEST superglobal. Closes #104

This commit is contained in:
Danny van Kooten
2015-11-03 07:37:04 +07:00
parent e7c5afefca
commit c9ce952af1

View File

@@ -170,10 +170,6 @@ class AltoRouter {
$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) {
list($method, $_route, $target, $name) = $handler;