mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 19:12:13 +00:00
Added support for input stream when not json encoded
This commit is contained in:
@@ -82,6 +82,8 @@ class InputHandler
|
|||||||
if ($post !== false) {
|
if ($post !== false) {
|
||||||
$this->originalPost += $post;
|
$this->originalPost += $post;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
parse_str($contents, $this->originalPost);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user