From 6a30daeb5958bec5e0a814bc2ce732d1e3c502e3 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Mon, 24 Mar 2008 01:04:27 +0000 Subject: not sure what the implications of this quick fix are, especially when upgrading from earlier versions we either have to use a different timezone depending on the server or fix timestamps on update, though shouldn't they be gmt already? git-svn-id: file:///svn/phpbb/trunk@8467 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/style.php | 1 + 1 file changed, 1 insertion(+) (limited to 'phpBB/style.php') diff --git a/phpBB/style.php b/phpBB/style.php index 3e923b8f53..2bc6930a5c 100644 --- a/phpBB/style.php +++ b/phpBB/style.php @@ -17,6 +17,7 @@ $phpEx = substr(strrchr(__FILE__, '.'), 1); // Report all errors, except notices error_reporting(E_ALL ^ E_NOTICE); +date_default_timezone_set('UTC'); require($phpbb_root_path . 'config.' . $phpEx); -- cgit v1.2.1