diff --git a/include/modulecheck.php b/include/modulecheck.php index afd7937..e2c4e30 100644 --- a/include/modulecheck.php +++ b/include/modulecheck.php @@ -56,10 +56,11 @@ if (!file_exists(__DIR__ . "/../config/config.php")) { function showExtensionMissingError($extension_name) { $title = 'Required extension "' . $extension_name . '" is missing'; - $text = '

Required PHP extension ' . $extension_name . ' is missing or is not loaded.

-

Install it and restart your server. Usually running sudo apt-get install php-' . $extension_name . ' should be enough.
-

If you still get this error, try restarting your web server and php-fpm service or just reboot your machine

-

If you are using Web Hosting service, please contact their support for instructions on enabling ' . $extension_name . ' extension

'; + $text = + '

Required PHP extension ' . $extension_name . ' is missing or is not loaded.

' . + '

Install it and restart your server. Usually running sudo apt-get install php-' . $extension_name . ' should be enough.

' . + '

If you still get this error, try restarting your web server and php-fpm service or just reboot your machine

' . + '

If you are using Web Hosting service, please contact their support for instructions on enabling ' . $extension_name . ' extension

'; showError($title, $text); } @@ -75,7 +76,7 @@ function showError($title, $text) { ?> - <?php echo $title; ?> + <?php echo $title ?> @@ -98,10 +99,10 @@ function showError($title, $text) { ?>
-

Error

+

Error

- +