1
0
Fork 0
mirror of https://github.com/friendica/friendica synced 2025-03-27 10:41:29 +00:00

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');
}
return $scheme . '://' . $this->hostname . !empty($this->getURLPath() ? '/' . $this->getURLPath() : '' );
return $scheme . '://' . $this->hostname . (!empty($this->getURLPath()) ? '/' . $this->getURLPath() : '' );
}
/**