mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-09 21:48:41 +00:00
Remove path, it is part of the uri
This commit is contained in:
parent
2330079630
commit
fc8ed2166d
|
|
@ -102,7 +102,6 @@ class Request extends RequestAbstract
|
||||||
public function setUri(UriInterface $uri) /* : void */
|
public function setUri(UriInterface $uri) /* : void */
|
||||||
{
|
{
|
||||||
$this->uri = $uri;
|
$this->uri = $uri;
|
||||||
$this->path = explode('/', $this->uri->getPath());
|
|
||||||
$this->data += $uri->getQueryArray();
|
$this->data += $uri->getQueryArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -126,7 +125,6 @@ class Request extends RequestAbstract
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->data = array_change_key_case($this->data, CASE_LOWER);
|
$this->data = array_change_key_case($this->data, CASE_LOWER);
|
||||||
$this->path = explode('/', $this->uri->getPath());
|
|
||||||
|
|
||||||
$this->setupUriBuilder();
|
$this->setupUriBuilder();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user