mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
Fix app name recognition bug
This commit is contained in:
parent
38ed968cc5
commit
c59c2d9f2a
|
|
@ -248,7 +248,7 @@ final class Http implements UriInterface
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function setPathOffset(int $offset) : void
|
||||
public function setPathOffset(int $offset = 0) : void
|
||||
{
|
||||
$this->pathOffset = $offset;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -128,6 +128,19 @@ interface UriInterface
|
|||
*/
|
||||
public function setRootPath(string $root) : void;
|
||||
|
||||
/**
|
||||
* Set path offset.
|
||||
*
|
||||
* This can be used if the uri path starts with elements which are not relevant later on.
|
||||
*
|
||||
* @param int $offset Path offset
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function setPathOffset(int $offset = 0) : void;
|
||||
|
||||
/**
|
||||
* Get path element.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user