mirror of
https://github.com/friendica/friendica
synced 2025-04-22 07:50:11 +00:00
Make "HTTPRequest::fetchUrlFull" dynamic
This commit is contained in:
parent
8793096c16
commit
3b4cf87c95
4 changed files with 6 additions and 6 deletions
|
@ -548,11 +548,11 @@ class Installer
|
|||
$help = "";
|
||||
$error_msg = "";
|
||||
if (function_exists('curl_init')) {
|
||||
$fetchResult = HTTPRequest::fetchUrlFull($baseurl . "/install/testrewrite");
|
||||
$fetchResult = DI::httpRequest()->fetchUrlFull($baseurl . "/install/testrewrite");
|
||||
|
||||
$url = Strings::normaliseLink($baseurl . "/install/testrewrite");
|
||||
if ($fetchResult->getReturnCode() != 204) {
|
||||
$fetchResult = HTTPRequest::fetchUrlFull($url);
|
||||
$fetchResult = DI::httpRequest()->fetchUrlFull($url);
|
||||
}
|
||||
|
||||
if ($fetchResult->getReturnCode() != 204) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue