diff --git a/include/class.dispatcher.php b/include/class.dispatcher.php index 507b2f9fe3163a30a81e944ebc876639f95407f0..da9fb862889f8eb17b9ea6bd8b89daee8c8c8194 100644 --- a/include/class.dispatcher.php +++ b/include/class.dispatcher.php @@ -30,7 +30,7 @@ class Dispatcher { if ($this->file) { $this->lazy_load(); } # Support HTTP method emulation with the _method GET argument if (isset($_GET['_method'])) { - $_SERVER['REQUEST_METHOD'] = strtoupper($_GET['method']); + $_SERVER['REQUEST_METHOD'] = strtoupper($_GET['_method']); unset($_GET['_method']); } foreach ($this->urls as $matcher) {