X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FPHPVersionCheck.php;h=cd5bf549988b3303a14a579e07f0eec44a87b2fa;hp=5a440c4e2cf1f463dd7c31048935a6164eccf820;hb=e7720b8f8e09287384ddee271641d1b1721318bb;hpb=fb742a3a8eb951c91544e70fe09b63b1bac6aec5 diff --git a/includes/PHPVersionCheck.php b/includes/PHPVersionCheck.php index 5a440c4e2c..cd5bf54998 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', ); /** @@ -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 ) {