summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dc15139)
raw | patch | inline | side by side (parent: dc15139)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 12 Dec 2005 21:17:23 +0000 (21:17 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 12 Dec 2005 21:17:23 +0000 (21:17 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2300 594d385d-05f5-0310-b6e9-bd551577e9d8
html/logout.php | patch | blob | history |
diff --git a/html/logout.php b/html/logout.php
index 684f27c3e5544202e27e5a7c6f2857c917f3b336..ba44304bf18e0a7799c0a7eca3537870742987d4 100644 (file)
--- a/html/logout.php
+++ b/html/logout.php
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-
/* Basic setup, remove eventually registered sessions */
require_once ("../include/php_setup.inc");
require_once ("functions.inc");
+header("Content-type: text/html; charset=UTF-8");
+get_dir_list("$BASE_DIR/plugins");
session_start ();
/* Do logout-logging and destroy session */
-if (!isset($_SESSION["ui"])){
+if (!isset($_SESSION["config"])){
/* Language setup */
if ($config->data['MAIN']['LANG'] == ""){
$lang= get_browser_language();
}
$smarty->display (get_template_path('headers.tpl'));
$smarty->display (get_template_path('logout.tpl'));
+ @session_destroy ();
exit;
}
$ui= $_SESSION["ui"];