Basepath function now uses the contact field
This commit is contained in:
parent
be0a102333
commit
dda86f6dfc
2 changed files with 12 additions and 7 deletions
|
@ -85,7 +85,7 @@ function redir_init(App $a) {
|
|||
|
||||
// When the remote page does support OWA, then we enforce the use of it
|
||||
$basepath = Contact::getBasepath($contact_url);
|
||||
if ($basepath == System::baseUrl()) {
|
||||
if (Strings::compareLink($basepath, System::baseUrl())) {
|
||||
$use_magic = true;
|
||||
} else {
|
||||
$serverret = Network::curl($basepath . '/magic');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue