Rename App->path to App->urlpath

This commit is contained in:
Hypolite Petovan 2018-06-25 20:39:56 -04:00
parent 5fdff3d813
commit e952d6677b
10 changed files with 12 additions and 12 deletions

View file

@ -56,7 +56,7 @@ function redir_init(App $a) {
}
if (remote_user()) {
$host = substr(System::baseUrl() . ($a->path ? '/' . $a->path : ''), strpos(System::baseUrl(), '://') + 3);
$host = substr(System::baseUrl() . ($a->urlpath ? '/' . $a->urlpath : ''), 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