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

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