mirror of
https://github.com/flarum/core.git
synced 2025-07-21 16:51:34 +02:00
Require the PHP DOM extension
This commit is contained in:
@@ -49,7 +49,7 @@ class IndexAction extends HtmlAction
|
||||
];
|
||||
}
|
||||
|
||||
foreach (['mbstring', 'pdo_mysql', 'json', 'gd'] as $extension) {
|
||||
foreach (['mbstring', 'pdo_mysql', 'json', 'gd', 'dom'] as $extension) {
|
||||
if (! extension_loaded($extension)) {
|
||||
$errors[] = [
|
||||
'message' => 'The <strong>'.$extension.'</strong> extension is required.'
|
||||
|
Reference in New Issue
Block a user