X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FInstaller.php;h=516408b4e3eb9885f1855ed89b3297ebfcd3deb3;hb=d5373c583bc12d2104659aaf6386d2b9e28ec68d;hp=355513ac7480960b240bb4e536367f097ee1de7b;hpb=cafb91ec62ada50ebdc12e7ac1813c085f37e9a6;p=friendica.git diff --git a/src/Core/Installer.php b/src/Core/Installer.php index 355513ac74..516408b4e3 100644 --- a/src/Core/Installer.php +++ b/src/Core/Installer.php @@ -1,6 +1,6 @@ t("PHP executable is not the php cli binary \x28could be cgi-fgci version\x29") . EOL; @@ -557,11 +557,11 @@ class Installer $help = ""; $error_msg = ""; if (function_exists('curl_init')) { - $fetchResult = DI::httpRequest()->fetchFull($baseurl . "/install/testrewrite"); + $fetchResult = DI::httpClient()->fetchFull($baseurl . "/install/testrewrite"); $url = Strings::normaliseLink($baseurl . "/install/testrewrite"); if ($fetchResult->getReturnCode() != 204) { - $fetchResult = DI::httpRequest()->fetchFull($url); + $fetchResult = DI::httpClient()->fetchFull($url); } if ($fetchResult->getReturnCode() != 204) { @@ -587,7 +587,7 @@ class Installer /** * TLS Check * - * Tries to determine wheather the connection to the server is secured + * Tries to determine whether the connection to the server is secured * by TLS or not. If not the user will be warned that it is higly * encuraged to use TLS. * @@ -605,13 +605,13 @@ class Installer if (!$tls) { $help = DI::l10n()->t('The detection of TLS to secure the communication between the browser and the new Friendica server failed.'); + $help .= ' ' . DI::l10n()->t('It is highly encouraged to use Friendica only over a secure connection as sensitive information like passwords will be transmitted.'); $help .= ' ' . DI::l10n()->t('Please ensure that the connection to the server is secure.'); $this->addCheck(DI::l10n()->t('No TLS detected'), $tls, false, $help); } else { $this->addCheck(DI::l10n()->t('TLS detected'), $tls, false, ''); } - // TLS is not required return true; } @@ -678,8 +678,8 @@ class Installer /** * Setup the default cache for a new installation * - * @param Cache $configCache The configuration cache - * @param string $basePath The determined basepath + * @param \Friendica\Core\Config\ValueObject\Cache $configCache The configuration cache + * @param string $basePath The determined basepath * * @throws \Friendica\Network\HTTPException\InternalServerErrorException */