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

git-svn-id: http://svn.automattic.com/wordpress/trunk@12315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-12-02 17:50:07 +00:00
parent c5054ba38b
commit 2371043644
1 changed files with 3 additions and 0 deletions

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.
*