From 4b0ae24d1609910eaaa03f2b5cd2fc0057c5f020 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 14 Sep 2007 07:26:06 +0000 Subject: [PATCH] Adde timezone check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7290 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/main.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/html/main.php b/html/main.php index 4dfe7477e..9d8527d69 100644 --- a/html/main.php +++ b/html/main.php @@ -79,6 +79,12 @@ if ($_SERVER['REMOTE_ADDR'] != $ui->ip){ } $config= $_SESSION['config']; +/* Check if there is a timezone record available */ +$tmp = get_default_timezone(); +if($tmp['name'] == "unconfigured"){ + print_red(_("Please add a timezone record into the main section of yout your gosa.conf.")); +} + /* Check for invalid sessions */ if(empty($_SESSION['_LAST_PAGE_REQUEST'])){ $_SESSION['_LAST_PAGE_REQUEST']= time(); -- 2.30.2