diff options
author | tuscanhobbit <tuscanhobbit@users.noreply.github.com> | 2014-10-01 19:26:21 +0200 |
---|---|---|
committer | tuscanhobbit <tuscanhobbit@users.noreply.github.com> | 2014-10-01 19:26:21 +0200 |
commit | 9cce852ac71fcd12970e985f1f61697333849172 (patch) | |
tree | c40ce5543c412035ca03188f7bd9e565efb62117 /index.php | |
parent | a548f644d05f330a2b70c87df821bce05007c979 (diff) | |
parent | f19d718631675d38efca1741f46bf0916af72a65 (diff) | |
download | volse-hubzilla-9cce852ac71fcd12970e985f1f61697333849172.tar.gz volse-hubzilla-9cce852ac71fcd12970e985f1f61697333849172.tar.bz2 volse-hubzilla-9cce852ac71fcd12970e985f1f61697333849172.zip |
Merge from upstream
Diffstat (limited to 'index.php')
-rwxr-xr-x | index.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -27,6 +27,10 @@ $a->install = ((file_exists('.htconfig.php') && filesize('.htconfig.php')) ? fal @include(".htconfig.php"); +$a->timezone = ((x($default_timezone)) ? $default_timezone : 'UTC'); +date_default_timezone_set($a->timezone); + + /** * * Try to open the database; |