refactoring the uri class more.
This commit is contained in:
parent
bce571bf26
commit
e454227d32
|
@ -40,7 +40,9 @@ public function get()
|
|||
{
|
||||
if ( ! is_null($this->uri)) return $this->uri;
|
||||
|
||||
return $this->uri = $this->format($this->clean(parse_url($this->server['REQUEST_URI'], PHP_URL_PATH)));
|
||||
$uri = parse_url($this->server['REQUEST_URI'], PHP_URL_PATH);
|
||||
|
||||
return $this->uri = $this->format($this->clean($uri));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue