diff options
Diffstat (limited to 'www-ssl/logout.php')
-rw-r--r-- | www-ssl/logout.php | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/www-ssl/logout.php b/www-ssl/logout.php index c137f48c..12b284f9 100644 --- a/www-ssl/logout.php +++ b/www-ssl/logout.php @@ -1,12 +1,15 @@ <?php - include "../../camp2011/includes/config.php"; - // 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); +// Die Session zerstoeren usw +require_once ('bootstrap.php'); +include "config/config.php"; + +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); ?> |