mirror of
https://github.com/flarum/core.git
synced 2025-07-23 09:41:26 +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)) {
|
if (! extension_loaded($extension)) {
|
||||||
$errors[] = [
|
$errors[] = [
|
||||||
'message' => 'The <strong>'.$extension.'</strong> extension is required.'
|
'message' => 'The <strong>'.$extension.'</strong> extension is required.'
|
||||||
|
Reference in New Issue
Block a user