diff --git a/src/App.php b/src/App.php index 0015405c4..b910765e1 100644 --- a/src/App.php +++ b/src/App.php @@ -703,7 +703,7 @@ class App $this->hostname = Core\Config::get('config', 'hostname'); } - return $scheme . '://' . $this->hostname . !empty($this->getURLPath() ? '/' . $this->getURLPath() : '' ); + return $scheme . '://' . $this->hostname . (!empty($this->getURLPath()) ? '/' . $this->getURLPath() : '' ); } /**