From: Bartosz DziewoƄski Date: Wed, 9 Aug 2017 18:54:01 +0000 (+0200) Subject: PHPVersionCheck: Add 'fileinfo' extension X-Git-Tag: 1.31.0-rc.0~2428^2 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=b46403406662d1c1e075cce33d756869514e3359;p=lhc%2Fweb%2Fwiklou.git PHPVersionCheck: Add 'fileinfo' extension We call mime_content_type() in a couple of important places with no fallback. Bug: T172643 Change-Id: I83db8b078f8f42d02fe6024ec9895da0688f1c91 --- diff --git a/includes/PHPVersionCheck.php b/includes/PHPVersionCheck.php index 5a440c4e2c..c8872d2d57 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', ); /**