fix isssue if friendica is installed into a subdirectory

This commit is contained in:
rabuzarus 2019-01-30 01:00:40 +01:00
parent 2bd62bfdea
commit 0993f3e6ef

View file

@ -703,7 +703,7 @@ class App
$this->hostname = Core\Config::get('config', 'hostname'); $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() : '' );
} }
/** /**