summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorIban Eguia <admin@razican.com>2012-03-27 18:18:15 +0200
committerIban Eguia <admin@razican.com>2012-03-27 18:18:15 +0200
commit8310595f0e80f72ac790478b8a7dfc6470051639 (patch)
tree2639e07bd80bb9a26b5d7e96ead12906dc2b5328 /index.php
parent67c287192b5ff414753ae50a834932f676a0db9e (diff)
Changed Date helper to return time() based on the timezone parameter.
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.php b/index.php
index 5a1190112..28586093d 100644
--- a/index.php
+++ b/index.php
@@ -162,6 +162,8 @@ if (defined('ENVIRONMENT'))
// END OF USER CONFIGURABLE SETTINGS. DO NOT EDIT BELOW THIS LINE
// --------------------------------------------------------------------
+date_default_timezone_set('UTC');
+
/*
* ---------------------------------------------------------------
* Resolve the system path for increased reliability