1
0
Fork 0

friendica-6667 Installer needs to check fileinfo module

This commit is contained in:
Philipp Holzer 2019-02-16 22:13:19 +01:00
commit 11a7f97fe7
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5
2 changed files with 23 additions and 1 deletions

View file

@ -357,6 +357,7 @@ class Installer
* - mb_string
* - XML
* - iconv
* - fileinfo
* - POSIX
*
* @return bool false if something required failed
@ -452,6 +453,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;
}