mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 07:27:09 +08:00
Check some more extension requirements
This commit is contained in:
parent
d050a7775f
commit
822b31468a
@ -49,7 +49,7 @@ class IndexAction extends HtmlAction
|
||||
];
|
||||
}
|
||||
|
||||
foreach (['mbstring', 'pdo_mysql'] as $extension) {
|
||||
foreach (['mbstring', 'pdo_mysql', 'json', 'gd'] as $extension) {
|
||||
if (! extension_loaded($extension)) {
|
||||
$errors[] = [
|
||||
'message' => 'The <strong>'.$extension.'</strong> extension is required.'
|
||||
|
Loading…
x
Reference in New Issue
Block a user