friendica-6667 Installer needs to check fileinfo module
This commit is contained in:
parent
12ff467a9b
commit
11a7f97fe7
2 changed files with 23 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue