From: cajus Date: Thu, 8 Dec 2005 13:18:32 +0000 (+0000) Subject: Send us to logout.php after the session has timed out X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=491ccc1f6e28298c6ccc16fe6778a7412da8ca4c;p=gosa.git Send us to logout.php after the session has timed out git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2257 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/html/main.php b/html/main.php index 4a96f4657..f4ad508e8 100644 --- a/html/main.php +++ b/html/main.php @@ -42,8 +42,8 @@ if ($_SERVER["REQUEST_METHOD"] == "POST"){ /* Logged in? Simple security check */ if (!isset($_SESSION['config'])){ - gosa_log ("main.php called without session"); - header ("Location: index.php"); + gosa_log ("main.php called without session - logging out"); + header ("Location: logout.php"); exit; }