Skip to content
Browse files

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

git-svn-id: http://svn.automattic.com/wordpress/trunk@12315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent c5054ba commit 23710436447779bdadc94cd097e98320bf27a4f6 ryan committed Dec 2, 2009
Showing with 3 additions and 0 deletions.
  1. +3 −0 wp-settings.php
View
3 wp-settings.php
@@ -18,6 +18,9 @@
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.
*

0 comments on commit 2371043

Please sign in to comment.
Something went wrong with that request. Please try again.