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
1 changed files with 1 additions and 1 deletions

View File

@ -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() : '' );
}
/**