friendica-6667 Installer needs to check fileinfo module
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user