summaryrefslogtreecommitdiff
path: root/www-ssl/logout.php
diff options
context:
space:
mode:
authorMoritz helios Rudert <helios@planetcyborg.de>2011-06-01 12:13:39 +0200
committerMoritz helios Rudert <helios@planetcyborg.de>2011-06-01 12:13:39 +0200
commit75448045cfe70054c8f4bae1bcfaf9bb0f70d330 (patch)
tree6a4d3d35019cdf933c1816e8522dc5d2557f5238 /www-ssl/logout.php
parent12e0b0d809c29d435a247798d7318cc9835980ea (diff)
fixes
Diffstat (limited to 'www-ssl/logout.php')
-rw-r--r--[-rwxr-xr-x]www-ssl/logout.php17
1 files changed, 8 insertions, 9 deletions
diff --git a/www-ssl/logout.php b/www-ssl/logout.php
index d413dfc7..c137f48c 100755..100644
--- a/www-ssl/logout.php
+++ b/www-ssl/logout.php
@@ -1,13 +1,12 @@
<?php
-include ("../../camp2011/includes/config.php");
+ include "../../camp2011/includes/config.php";
-// Die Session zerstoeren...
-session_start();
-session_destroy ();
-// und eine neue erstellen, damit kein Erzengelmenü angezeigt wird (falls sich ein Erzengel abmeldet...)
-session_start();
-
-header("HTTP/1.1 302 Moved Temporarily");
-header("Location: ". $url. $ENGEL_ROOT);
+ // Die Session zerstoeren...
+ session_start();
+ session_destroy ();
+ // und eine neue erstellen, damit kein Erzengelmenue angezeigt wird (falls sich ein Erzengel abmeldet...)
+ session_start();
+ header("HTTP/1.1 302 Moved Temporarily");
+ header("Location: " . $url . $ENGEL_ROOT);
?>