X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FInstaller.php;h=28db93d292de706f36a01ca76912f9cac51b24f3;hb=0d1fa70e2ecb372d158871285e0cda5f6d77194a;hp=b780776cc100cd29a1fe0718d43ee47af835baf9;hpb=d5a473abdaa019b6b3747ef6ee15c6202cec839b;p=friendica.git
diff --git a/src/Core/Installer.php b/src/Core/Installer.php
index b780776cc1..28db93d292 100644
--- a/src/Core/Installer.php
+++ b/src/Core/Installer.php
@@ -1,7 +1,24 @@
.
+ *
*/
+
namespace Friendica\Core;
use DOMDocument;
@@ -11,7 +28,6 @@ use Friendica\Database\Database;
use Friendica\Database\DBStructure;
use Friendica\DI;
use Friendica\Util\Images;
-use Friendica\Util\Network;
use Friendica\Util\Strings;
/**
@@ -242,7 +258,7 @@ class Installer
$help = "";
if (!$passed) {
$help .= DI::l10n()->t('Could not find a command line version of PHP in the web server PATH.') . EOL;
- $help .= DI::l10n()->t("If you don't have a command line version of PHP installed on your server, you will not be able to run the background processing. See 'Setup the worker'") . EOL;
+ $help .= DI::l10n()->t("If you don't have a command line version of PHP installed on your server, you will not be able to run the background processing. See 'Setup the worker'") . EOL;
$help .= EOL . EOL;
$tpl = Renderer::getMarkupTemplate('field_input.tpl');
/// @todo Separate backend Installer class and presentation layer/view
@@ -531,11 +547,11 @@ class Installer
$help = "";
$error_msg = "";
if (function_exists('curl_init')) {
- $fetchResult = Network::fetchUrlFull($baseurl . "/install/testrewrite");
+ $fetchResult = DI::httpRequest()->fetchFull($baseurl . "/install/testrewrite");
$url = Strings::normaliseLink($baseurl . "/install/testrewrite");
if ($fetchResult->getReturnCode() != 204) {
- $fetchResult = Network::fetchUrlFull($url);
+ $fetchResult = DI::httpRequest()->fetchFull($url);
}
if ($fetchResult->getReturnCode() != 204) {