mirror of
https://github.com/friendica/friendica
synced 2024-11-10 06:22:53 +00:00
fix isssue if friendica is installed into a subdirectory
This commit is contained in:
parent
2bd62bfdea
commit
0993f3e6ef
1 changed files with 1 additions and 1 deletions
|
@ -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() : '' );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue