mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-15 18:23:26 +03:00
Fixed Exception when using Request
This commit is contained in:
@@ -17,8 +17,8 @@ class Request
|
||||
$this->parseHeaders();
|
||||
$this->host = $this->getHeader('http-host');;
|
||||
$this->uri = $this->getHeader('request-uri');
|
||||
$this->method = $this->input->get('_method', strtolower($this->getHeader('request-method')));
|
||||
$this->input = new Input($this);
|
||||
$this->method = $this->input->get('_method', strtolower($this->getHeader('request-method')));
|
||||
}
|
||||
|
||||
protected function parseHeaders()
|
||||
|
||||
Reference in New Issue
Block a user