mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-03 06:08:05 +02:00
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
This commit is contained in:
parent
5417ec5c4d
commit
6a30daeb59
phpBB
@ -21,6 +21,7 @@ $starttime = $starttime[1] + $starttime[0];
|
||||
|
||||
// Report all errors, except notices
|
||||
error_reporting(E_ALL ^ E_NOTICE);
|
||||
date_default_timezone_set('UTC');
|
||||
|
||||
/*
|
||||
* Remove variables created by register_globals from the global scope
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user