From dbf22750945114ec9f00faa1b9abcfb1fdaca42c Mon Sep 17 00:00:00 2001 From: andryyy Date: Sun, 18 Dec 2016 12:51:06 +0100 Subject: [PATCH] Added timezone --- data/web/inc/vars.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/data/web/inc/vars.inc.php b/data/web/inc/vars.inc.php index 0f348ccc..6f52b969 100644 --- a/data/web/inc/vars.inc.php +++ b/data/web/inc/vars.inc.php @@ -12,6 +12,7 @@ $database_host = "mysql"; $database_user = getenv('DBUSER'); $database_pass = getenv('DBPASS'); $database_name = getenv('DBNAME'); +date_default_timezone_set(getenv('TZ')); // Where to go after adding and editing objects // Can be "form" or "previous"