Update check_auth.php

This commit is contained in:
FusionPBX 2016-12-11 22:19:02 -07:00 committed by GitHub
parent f49ac8d931
commit fa276ef4b4
1 changed files with 1 additions and 0 deletions

View File

@ -240,6 +240,7 @@
}
//set the time zone
if (!isset($_SESSION["time_zone"]["user"])) { $_SESSION["time_zone"]["user"] = null; }
if (strlen($_SESSION["time_zone"]["user"]) == 0) {
//set the domain time zone as the default time zone
date_default_timezone_set($_SESSION['domain']['time_zone']['name']);