mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 07:50:24 +08:00
Require the PHP DOM extension
This commit is contained in:
parent
b689c9de3b
commit
41019597d0
@ -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.'
|
||||
|
Loading…
x
Reference in New Issue
Block a user