Rename DI::httpRequest() into DI::httpClient()
This commit is contained in:
@@ -142,7 +142,7 @@ function redir_magic($a, $cid, $url)
|
||||
}
|
||||
|
||||
// Test for magic auth on the target system
|
||||
$serverret = DI::httpRequest()->get($basepath . '/magic');
|
||||
$serverret = DI::httpClient()->get($basepath . '/magic');
|
||||
if ($serverret->isSuccess()) {
|
||||
$separator = strpos($target_url, '?') ? '&' : '?';
|
||||
$target_url .= $separator . 'zrl=' . urlencode($visitor) . '&addr=' . urlencode($contact_url);
|
||||
|
||||
Reference in New Issue
Block a user