aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-13 20:28:33 -0800
committerFriendika <info@friendika.com>2011-01-13 20:28:33 -0800
commit5bfb0ba4c2ee23366651e1e38d3964098f99f5cf (patch)
tree3d33a24a2be14e043b08ae7cbb8c21de8ddf16da /index.php
parent3494b23bfe7a848c8dc41f6680377e16cee0a9d2 (diff)
downloadvolse-hubzilla-5bfb0ba4c2ee23366651e1e38d3964098f99f5cf.tar.gz
volse-hubzilla-5bfb0ba4c2ee23366651e1e38d3964098f99f5cf.tar.bz2
volse-hubzilla-5bfb0ba4c2ee23366651e1e38d3964098f99f5cf.zip
birthday notifications working
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/index.php b/index.php
index 1c0696781..ae6a578cb 100644
--- a/index.php
+++ b/index.php
@@ -71,7 +71,9 @@ if(! $install) {
require_once("datetime.php");
-date_default_timezone_set(($default_timezone) ? $default_timezone : 'UTC');
+$a->timezone = (($default_timezone) ? $default_timezone : 'UTC');
+
+date_default_timezone_set($a->timezone);
$a->init_pagehead();