Require the PHP fileinfo extension

It's required for the intervention/image package
This commit is contained in:
Toby Zerner 2015-08-31 15:29:20 +09:30
parent 5b7527144c
commit f2a3a0cb10

View File

@ -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.'