diff --git a/library/Businessprocess/Web/Url.php b/library/Businessprocess/Web/Url.php index 4f508e6..01f2194 100644 --- a/library/Businessprocess/Web/Url.php +++ b/library/Businessprocess/Web/Url.php @@ -57,6 +57,12 @@ class Url extends WebUrl return $self; } + public function setBasePath($basePath) + { + $this->basePath = rtrim($basePath, '/ '); + return $this; + } + protected static function getRequest() { $app = Icinga::app();