summaryrefslogtreecommitdiff
path: root/installer/web.php
diff options
context:
space:
mode:
Diffstat (limited to 'installer/web.php')
-rw-r--r--installer/web.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/installer/web.php b/installer/web.php
index 4b8664fb..61f26f7d 100644
--- a/installer/web.php
+++ b/installer/web.php
@@ -108,5 +108,9 @@ function check_environment() {
$errors[] = "The <a href=\"http://php.net/mbstring\">mbstring extension</a> is overloading PHP's native string functions. Please disable it.";
}
+ if (!function_exists("json_encode")) {
+ $errors[] = "PHP is missing the <a href=\"http://php.net/manual/en/book.json.php\">JavaScript Object Notation (JSON) extension</a>. Please install it.";
+ }
+
return @$errors;
}