allow custom role permissions and fix site timezone.

This commit is contained in:
friendica
2014-09-29 23:36:41 -07:00
parent 5292e3a100
commit f8468b4c3a
4 changed files with 16 additions and 5 deletions

View File

@@ -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();