Merge pull request #6555 from rabuzarus/20190129_-_jot_atachment_preview

fix isssue if friendica is installed into a subdirectory
This commit is contained in:
Hypolite Petovan 2019-01-29 20:00:11 -05:00 committed by GitHub
commit 2d6f658c33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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