Skip to content
Snippets Groups Projects
Commit 20d904bc authored by Peter Rotich's avatar Peter Rotich
Browse files

Fix typo

parent d180cf3b
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ class Dispatcher { ...@@ -30,7 +30,7 @@ class Dispatcher {
if ($this->file) { $this->lazy_load(); } if ($this->file) { $this->lazy_load(); }
# Support HTTP method emulation with the _method GET argument # Support HTTP method emulation with the _method GET argument
if (isset($_GET['_method'])) { if (isset($_GET['_method'])) {
$_SERVER['REQUEST_METHOD'] = strtoupper($_GET['method']); $_SERVER['REQUEST_METHOD'] = strtoupper($_GET['_method']);
unset($_GET['_method']); unset($_GET['_method']);
} }
foreach ($this->urls as $matcher) { foreach ($this->urls as $matcher) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment