From ec31b6f9f30d293078725e4d94ad40f1c5495daa Mon Sep 17 00:00:00 2001 From: till Date: Tue, 14 Jul 2009 15:13:02 +0000 Subject: * ok, let's validate this for real (this time) --- installer/check.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'installer/check.php') diff --git a/installer/check.php b/installer/check.php index 392ea49dc..1318793f7 100644 --- a/installer/check.php +++ b/installer/check.php @@ -137,7 +137,7 @@ foreach ($ini_checks as $var => $val) { } else { switch ($var) { case 'date.timezone': - if (date_default_timezone_get() === false) { + if (date_default_timezone_set($status) === false) { $RCI->fail($var, "is '$status', but the settings is wrong"); echo '
'; continue; -- cgit v1.2.3