diff --git a/helpers/UrlManager.php b/helpers/UrlManager.php index f3ef6d88..d6301ac8 100644 --- a/helpers/UrlManager.php +++ b/helpers/UrlManager.php @@ -6,14 +6,7 @@ class UrlManager { public function __construct(string $basePath) { - if ($basePath === '/') - { - $this->BasePath = $this->GetBaseUrl(); - } - else - { - $this->BasePath = $basePath; - } + $this->BasePath = $this->GetBaseUrl() . $basePath; } protected $BasePath;