From baa220186e176191e34383b5871746cefe6e5c8e Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 13 May 2009 22:34:54 +0000 Subject: Suppress some warnings --- installer/web.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'installer/web.php') 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 mbstring extension is overloading PHP's native string functions. Please disable it."; } - return $errors; + return @$errors; } -- cgit v1.2.3