Set default timezone. Props Denis-de-Bernardy. fixes #10940

git-svn-id: https://develop.svn.wordpress.org/trunk@12315 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-12-02 17:50:07 +00:00
parent d8822ccb65
commit cf79d843b6

View File

@ -18,6 +18,9 @@ if ( function_exists('memory_get_usage') && ( (int) @ini_get('memory_limit') < a
set_magic_quotes_runtime(0);
@ini_set('magic_quotes_sybase', 0);
if ( function_exists('date_default_timezone_set') )
date_default_timezone_set('UTC');
/**
* Turn register globals off.
*