]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Installer.php
Merge pull request #6641 from nupplaphil/config_followup
[friendica.git] / src / Core / Installer.php
index 73f85785e79e23792143e50f3bdf61450c9a643f..ed4721014191dac11316bb8eb8bf685849b58de0 100644 (file)
@@ -358,6 +358,7 @@ class Installer
         * - mb_string
         * - XML
         * - iconv
+        * - fileinfo
         * - POSIX
         *
         * @return bool false if something required failed
@@ -453,6 +454,13 @@ class Installer
                );
                $returnVal = $returnVal ? $status : false;
 
+               $status = $this->checkFunction('finfo_open',
+                       L10n::t('File Information PHP module'),
+                       L10n::t('Error: File Information PHP module required but not installed.'),
+                       true
+               );
+               $returnVal = $returnVal ? $status : false;
+
                return $returnVal;
        }