mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-02 11:21:57 +01:00
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:
parent
c5054ba38b
commit
2371043644
@ -18,6 +18,9 @@ if ( function_exists('memory_get_usage') && ( (int) @ini_get('memory_limit') < a
|
|||||||
set_magic_quotes_runtime(0);
|
set_magic_quotes_runtime(0);
|
||||||
@ini_set('magic_quotes_sybase', 0);
|
@ini_set('magic_quotes_sybase', 0);
|
||||||
|
|
||||||
|
if ( function_exists('date_default_timezone_set') )
|
||||||
|
date_default_timezone_set('UTC');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Turn register globals off.
|
* Turn register globals off.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user