From f3c0c0e6378c654bf304d985737b393cf93b302a Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 22 Jan 2012 14:40:41 +0000 Subject: [PATCH] allow a configurable timezone --- index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.php b/index.php index 29cbecca..405c4d4e 100644 --- a/index.php +++ b/index.php @@ -74,6 +74,9 @@ _d("NICE_URLS", false); // boolean force niceurl mode _d("WH_SPLITS", 1); // int how many levels of subfolders to put in the warehouse _d("VERSION", 'trunk'); // string shimmie version _d("SCORE_VERSION", 's2hack/'.VERSION); // string SCore version +_d("TIMEZONE", 'UTC'); // string timezone + +date_default_timezone_set(TIMEZONE); require_once "core/util.inc.php"; require_once "lib/context.php";