mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-17 00:37:52 +00:00
Development
- Began work on new documentation. - BaseCsrfVerifier now only matches `POST`, `PUT` and `DELETE`. - Parameters are now parsed on custom regex-matches. - Added `$type` option to `get` method in `Input` class.
This commit is contained in:
@@ -17,7 +17,7 @@ class Request
|
||||
$this->parseHeaders();
|
||||
$this->host = $this->getHeader('http-host');;
|
||||
$this->uri = $this->getHeader('request-uri');
|
||||
$this->method = strtolower($this->getHeader('request-method'));
|
||||
$this->method = $this->input->get('_method', strtolower($this->getHeader('request-method')));
|
||||
$this->input = new Input($this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user