Code

Fixed double header inclusion
[gosa.git] / html / index.php
index 16e0c94beed5f4894395637e31082c630b3286d4..0fcd72b632de0294c1b3515e803bfb66abb8ff35 100644 (file)
@@ -75,7 +75,7 @@ function displayLogin()
       $smarty->assign("php_errors", "");
     }
 
-    $smarty->display (get_template_path('headers.tpl'));
+    $smarty->display(get_template_path('headers.tpl'));
     $smarty->display(get_template_path('login.tpl'));
     exit();
 }
@@ -351,7 +351,6 @@ $smarty->assign ("server_options", $servers);
 $smarty->assign ("server_id", $selected);
 
 /* show login screen */
-$smarty->display (get_template_path('headers.tpl'));
 $smarty->assign ("PHPSESSID", session_id());
 if (isset($_SESSION['errors'])){
   $smarty->assign("errors", $_SESSION['errors']);