summaryrefslogtreecommitdiff
path: root/installer
diff options
context:
space:
mode:
Diffstat (limited to 'installer')
-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;