summaryrefslogtreecommitdiff
path: root/installer/web.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-13 22:34:54 +0000
committerBharat Mediratta <bharat@menalto.com>2009-05-13 22:34:54 +0000
commitbaa220186e176191e34383b5871746cefe6e5c8e (patch)
tree9e520064d24ddee170e6041633e9b1c78871ee7e /installer/web.php
parentce4a8224d84eb0bea7a52bc670b5f4d8feb59138 (diff)
Suppress some warnings
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;
}