1
0
mirror of https://github.com/flarum/core.git synced 2025-07-23 17:51:24 +02:00

Installer: Check for openssl extension

Closes #296.
This commit is contained in:
Franz Liedke
2015-08-29 22:07:50 +02:00
parent 5fc23ff012
commit 13aed29c26

View File

@@ -49,7 +49,7 @@ class IndexAction extends HtmlAction
]; ];
} }
foreach (['mbstring', 'pdo_mysql', 'json', 'gd', 'dom'] as $extension) { foreach (['mbstring', 'pdo_mysql', 'openssl', '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.'