summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortill <till@php.net>2009-07-14 15:13:02 +0000
committertill <till@php.net>2009-07-14 15:13:02 +0000
commitec31b6f9f30d293078725e4d94ad40f1c5495daa (patch)
tree0a9a4d2e89cef64886de366c75d843124b45b671
parentf7df6c4c4d2e132997f5ed248c1d3dab2f575be5 (diff)
* ok, let's validate this for real (this time)
-rw-r--r--installer/check.php2
1 files changed, 1 insertions, 1 deletions
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 '<br />';
continue;