summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ed739e2)
raw | patch | inline | side by side (parent: ed739e2)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 24 Jul 2008 12:12:56 +0000 (12:12 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 24 Jul 2008 12:12:56 +0000 (12:12 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12017 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/logout.php | patch | blob | history |
index b0e5b0beff50ee5712bf59001eaa9bdfc7dbfdee..55b12943b84fa58768b128c9495d2b5bbf277537 100644 (file)
session::destroy ();
/* If we're not using htaccess authentication, just redirect... */
- if ($config->get_cfg_value("htaccess_auth") == "true"){
+ if (isset($config) && $config->get_cfg_value("htaccess_auth") == "true"){
/* Else notice that the user has to close the browser... */
$smarty->display (get_template_path('headers.tpl'));