aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authortuscanhobbit <tuscanhobbit@users.noreply.github.com>2014-10-01 19:26:21 +0200
committertuscanhobbit <tuscanhobbit@users.noreply.github.com>2014-10-01 19:26:21 +0200
commit9cce852ac71fcd12970e985f1f61697333849172 (patch)
treec40ce5543c412035ca03188f7bd9e565efb62117 /boot.php
parenta548f644d05f330a2b70c87df821bce05007c979 (diff)
parentf19d718631675d38efca1741f46bf0916af72a65 (diff)
downloadvolse-hubzilla-9cce852ac71fcd12970e985f1f61697333849172.tar.gz
volse-hubzilla-9cce852ac71fcd12970e985f1f61697333849172.tar.bz2
volse-hubzilla-9cce852ac71fcd12970e985f1f61697333849172.zip
Merge from upstream
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/boot.php b/boot.php
index dc94f202e..563ed0fe1 100755
--- a/boot.php
+++ b/boot.php
@@ -716,10 +716,8 @@ class App {
function __construct() {
- global $default_timezone;
- $this->timezone = ((x($default_timezone)) ? $default_timezone : 'UTC');
-
- date_default_timezone_set($this->timezone);
+ // we'll reset this after we read our config file
+ date_default_timezone_set('UTC');
$this->config = array('system'=>array());
$this->page = array();