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, 2 insertions, 2 deletions
diff --git a/installer/web.php b/installer/web.php
index da6bbe20..4b8664fb 100644
--- a/installer/web.php
+++ b/installer/web.php
@@ -20,7 +20,7 @@
if (installer::already_installed()) {
$content = render("success.html.php");
} else {
- switch ($_GET["step"]) {
+ switch (@$_GET["step"]) {
default:
case "welcome":
$errors = check_environment();
@@ -108,5 +108,5 @@ function check_environment() {
$errors[] = "The <a href=\"http://php.net/mbstring\">mbstring extension</a> is overloading PHP's native string functions. Please disable it.";
}
- return $errors;
+ return @$errors;
}