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:
Simon Sessingø
2016-11-25 01:53:02 +01:00
parent fb6da37963
commit c6bce8a420
5 changed files with 759 additions and 396 deletions
+1 -1
View File
@@ -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);
}