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