aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-29 23:36:41 -0700
committerfriendica <info@friendica.com>2014-09-29 23:36:41 -0700
commitf8468b4c3aeeb51f485c6bb7107f5b64a9643c85 (patch)
tree9665491010508ed70be7fc9e1b8fca0b7e5227f5 /index.php
parent5292e3a100dd8da20865167e59f859a528676df7 (diff)
downloadvolse-hubzilla-f8468b4c3aeeb51f485c6bb7107f5b64a9643c85.tar.gz
volse-hubzilla-f8468b4c3aeeb51f485c6bb7107f5b64a9643c85.tar.bz2
volse-hubzilla-f8468b4c3aeeb51f485c6bb7107f5b64a9643c85.zip
allow custom role permissions and fix site timezone.
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.php b/index.php
index 5a9ec1026..6c18cbcb8 100755
--- a/index.php
+++ b/index.php
@@ -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;