From d4b1ca7cf19c1a6b902b3c7810047156328d8c72 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 1 Mar 2011 12:24:48 -0600 Subject: Set a default timezone With our use of strtotime() in stats.inc, we are "required" to do so or at least the emitted warning tells us it is a good idea. Signed-off-by: Dan McGee Signed-off-by: Lukas Fleischer --- web/lib/aur.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'web') diff --git a/web/lib/aur.inc b/web/lib/aur.inc index e7aaa1f6..430666c8 100644 --- a/web/lib/aur.inc +++ b/web/lib/aur.inc @@ -5,6 +5,8 @@ header('Cache-Control: no-cache, must-revalidate'); header('Expires: Tue, 11 Oct 1988 22:00:00 GMT'); // quite a special day header('Pragma: no-cache'); +date_default_timezone_set('UTC'); + include_once('translator.inc'); set_lang(); -- cgit v1.2.3-24-g4f1b