From b46403406662d1c1e075cce33d756869514e3359 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Wed, 9 Aug 2017 20:54:01 +0200 Subject: [PATCH] PHPVersionCheck: Add 'fileinfo' extension We call mime_content_type() in a couple of important places with no fallback. Bug: T172643 Change-Id: I83db8b078f8f42d02fe6024ec9895da0688f1c91 --- includes/PHPVersionCheck.php | 1 + 1 file changed, 1 insertion(+) 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', ); /** -- 2.20.1