diff options
author | friendica <info@friendica.com> | 2014-09-29 23:36:41 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-09-29 23:36:41 -0700 |
commit | f8468b4c3aeeb51f485c6bb7107f5b64a9643c85 (patch) | |
tree | 9665491010508ed70be7fc9e1b8fca0b7e5227f5 /boot.php | |
parent | 5292e3a100dd8da20865167e59f859a528676df7 (diff) | |
download | volse-hubzilla-f8468b4c3aeeb51f485c6bb7107f5b64a9643c85.tar.gz volse-hubzilla-f8468b4c3aeeb51f485c6bb7107f5b64a9643c85.tar.bz2 volse-hubzilla-f8468b4c3aeeb51f485c6bb7107f5b64a9643c85.zip |
allow custom role permissions and fix site timezone.
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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(); |