summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/check_setup.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/app/check_setup.php b/app/check_setup.php
index be52a718..ec389834 100644
--- a/app/check_setup.php
+++ b/app/check_setup.php
@@ -21,12 +21,17 @@ if (version_compare(PHP_VERSION, '5.4.0', '<')) {
// Check extension: PDO
if (! extension_loaded('pdo_sqlite') && ! extension_loaded('pdo_mysql') && ! extension_loaded('pdo_pgsql')) {
- throw new Exception('PHP extension required: pdo_sqlite or pdo_mysql or pdo_pgsql');
+ throw new Exception('PHP extension required: "pdo_sqlite" or "pdo_mysql" or "pdo_pgsql"');
}
// Check extension: mbstring
if (! extension_loaded('mbstring')) {
- throw new Exception('PHP extension required: mbstring');
+ throw new Exception('PHP extension required: "mbstring"');
+}
+
+// Check extension: gd
+if (! extension_loaded('gd')) {
+ throw new Exception('PHP extension required: "gd"');
}
// Fix wrong value for arg_separator.output, used by the function http_build_query()