mirror of
https://github.com/flarum/framework.git
synced 2025-01-22 18:42:01 +08:00
Require the PHP fileinfo extension
It's required for the intervention/image package
This commit is contained in:
parent
5b7527144c
commit
f2a3a0cb10
|
@ -47,7 +47,7 @@ class IndexAction extends HtmlAction
|
|||
];
|
||||
}
|
||||
|
||||
foreach (['mbstring', 'pdo_mysql', 'openssl', 'json', 'gd', 'dom'] as $extension) {
|
||||
foreach (['mbstring', 'pdo_mysql', 'openssl', 'json', 'gd', 'dom', 'fileinfo'] as $extension) {
|
||||
if (! extension_loaded($extension)) {
|
||||
$errors[] = [
|
||||
'message' => 'The <strong>'.$extension.'</strong> extension is required.'
|
||||
|
|
Loading…
Reference in New Issue
Block a user