summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 75617dd)
raw | patch | inline | side by side (parent: 75617dd)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 24 Apr 2006 03:58:14 +0000 (03:58 +0000) | ||
committer | hickert <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 | patch | blob | history | |
html/main.php | patch | blob | history |
diff --git a/html/index.php b/html/index.php
index ac88c7992f7fe1920a12e31167c216dccba02184..e1baef37cb86bb383a54fbf4c56965ec1a72ae56 100644 (file)
--- a/html/index.php
+++ b/html/index.php
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");
diff --git a/html/main.php b/html/main.php
index 8471e3eea3751e21ed743551bfa80a99d85ef8f4..8c096eb3b49a7bc8396b84dcd5bdc7b09b2c1690 100644 (file)
--- a/html/main.php
+++ b/html/main.php
}
/* Reset errors */
-$_SESSION['errors']= "";
+$_SESSION['errors'] = "";
$_SESSION['errorsAlreadyPosted']= array();
-$_SESSION['LastError'] ="";
+$_SESSION['LastError'] = "";
/* Check for uniqe ip address */
$ui= $_SESSION["ui"];