X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2FPHPVersionCheck.php;h=e9e271ce496d8f20df02d8c28bf643c7c835576f;hb=c2720d56865fb62e7044620b2d18ac71815c2dc2;hp=5a440c4e2cf1f463dd7c31048935a6164eccf820;hpb=3458091bfe2c9602a4ee62724626a884d7e090bf;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/PHPVersionCheck.php b/includes/PHPVersionCheck.php index 5a440c4e2c..e9e271ce49 100644 --- a/includes/PHPVersionCheck.php +++ b/includes/PHPVersionCheck.php @@ -36,6 +36,7 @@ class PHPVersionCheck { 'ctype_digit' => 'ctype', 'json_decode' => 'json', 'iconv' => 'iconv', + 'mime_content_type' => 'fileinfo', ); /** @@ -97,7 +98,7 @@ class PHPVersionCheck { 'vendor' => 'the PHP Group', 'upstreamSupported' => '5.5.0', 'minSupported' => '5.5.9', - 'upgradeURL' => 'http://www.php.net/downloads.php', + 'upgradeURL' => 'https://secure.php.net/downloads.php', ); } @@ -230,9 +231,9 @@ HTML; /** * Returns an error page, which is suitable for output to the end user via a web browser. * - * @param $title - * @param $longHtml - * @param $shortText + * @param string $title + * @param string $longHtml + * @param string $shortText * @return string */ function getIndexErrorOutput( $title, $longHtml, $shortText ) {