summaryrefslogtreecommitdiff
path: root/www-ssl/logout.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-06-01 14:30:29 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-06-01 14:30:29 +0200
commit6ebee2c46ba11ce42e85b830189346b13514d497 (patch)
treee76538b0f667f29f859585af7998288cfcbd26e4 /www-ssl/logout.php
parent550467697f8b3ae0b5d15d1d3a2bc3f83b003ff8 (diff)
bootstrapping
Diffstat (limited to 'www-ssl/logout.php')
-rw-r--r--www-ssl/logout.php19
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);
?>