mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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 <dan@archlinux.org> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
cdc01130cf
commit
d4b1ca7cf1
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue