mirror of
https://github.com/friendica/friendica
synced 2025-04-29 09:04:24 +02:00
Replace remaining occurrences of Network::curl
This commit is contained in:
parent
1998b7811b
commit
ec3ec3b78a
2 changed files with 3 additions and 2 deletions
|
@ -359,7 +359,7 @@ class GServer
|
|||
// When the base path doesn't seem to contain a social network we try the complete path.
|
||||
// Most detectable system have to be installed in the root directory.
|
||||
// We checked the base to avoid false positives.
|
||||
$curlResult = Network::curl($url, false, ['timeout' => $xrd_timeout]);
|
||||
$curlResult = DI::httpRequest()->get($url, false, ['timeout' => $xrd_timeout]);
|
||||
if ($curlResult->isSuccess()) {
|
||||
$urldata = self::analyseRootHeader($curlResult, $serverdata);
|
||||
$urldata = self::analyseRootBody($curlResult, $urldata, $url);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue