mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-27 01:39:35 -05:00
Url: fix compatibility with older Icinga Web 2
This commit is contained in:
parent
f2cf04d247
commit
2bf4b8df19
1 changed files with 6 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue