mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 10:25:42 +08:00
Require the PHP fileinfo extension
It's required for the intervention/image package
This commit is contained in:
parent
f606dc7020
commit
b74976339d
@ -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…
x
Reference in New Issue
Block a user