parameters and getURLpath to getURLPath

This commit is contained in:
Philipp Holzer 2018-10-10 01:18:47 +02:00
commit 307286fc47
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5
12 changed files with 22 additions and 22 deletions

View file

@ -57,7 +57,7 @@ function redir_init(App $a) {
}
if (remote_user()) {
$host = substr(System::baseUrl() . ($a->getURLpath() ? '/' . $a->getURLpath() : ''), strpos(System::baseUrl(), '://') + 3);
$host = substr(System::baseUrl() . ($a->getURLPath() ? '/' . $a->getURLPath() : ''), strpos(System::baseUrl(), '://') + 3);
$remotehost = substr($contact['addr'], strpos($contact['addr'], '@') + 1);
// On a local instance we have to check if the local user has already authenticated