From cb05fe3d9c460ec7f4384065e11b07321690e8cc Mon Sep 17 00:00:00 2001 From: Shadow Date: Thu, 14 Nov 2013 13:48:31 +0200 Subject: [PATCH] Add timezone --- install/data/constant_format.tpl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/install/data/constant_format.tpl b/install/data/constant_format.tpl index 0e1a12c9..7535b324 100644 --- a/install/data/constant_format.tpl +++ b/install/data/constant_format.tpl @@ -24,6 +24,11 @@ // ***** Name define("SERVER_NAME","%SERVERNAME%"); +// ***** Time zone added by ronix +// Defines server time zone. +define("TIMEZONE","%STIMEZONE%"); +date_default_timezone_set(TIMEZONE); + // ***** Started // Defines when has server started. define("COMMENCE","%STARTTIME%"); @@ -283,4 +288,4 @@ $requse = 0; ## ## ################################################################################# -?> \ No newline at end of file +?>