Code

Fixed white pages on login
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 24 Apr 2006 03:58:14 +0000 (03:58 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 24 Apr 2006 03:58:14 +0000 (03:58 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3081 594d385d-05f5-0310-b6e9-bd551577e9d8

html/index.php
html/main.php

index ac88c7992f7fe1920a12e31167c216dccba02184..e1baef37cb86bb383a54fbf4c56965ec1a72ae56 100644 (file)
@@ -28,6 +28,11 @@ header("Content-type: text/html; charset=UTF-8");
 session_start ();
 $username= "";
 
+/* Reset errors */
+$_SESSION['errors']             = "";
+$_SESSION['errorsAlreadyPosted']= array();
+$_SESSION['LastError']          = "";
+
 /* Check if we need to run setup */
 if (!file_exists(CONFIG_DIR."/gosa.conf")){
   header("location:setup.php");
index 8471e3eea3751e21ed743551bfa80a99d85ef8f4..8c096eb3b49a7bc8396b84dcd5bdc7b09b2c1690 100644 (file)
@@ -53,9 +53,9 @@ if (!isset($_SESSION['config'])){
 } 
 
 /* Reset errors */
-$_SESSION['errors']= "";
+$_SESSION['errors']             = "";
 $_SESSION['errorsAlreadyPosted']= array();
-$_SESSION['LastError']  ="";
+$_SESSION['LastError']          = "";
 
 /* Check for uniqe ip address */
 $ui= $_SESSION["ui"];