summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4aaf765)
raw | patch | inline | side by side (parent: 4aaf765)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 May 2010 10:03:28 +0000 (10:03 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 May 2010 10:03:28 +0000 (10:03 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18103 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/logout.php | patch | blob | history |
index 074670e15173aff707dd92045c48d4f199d71ce1..dc6a14572c1ea5ee83e9b56d61c338a68865975e 100644 (file)
}
/* Language setup */
-if ((!isset($config)) || $config->get_cfg_value("language") == ""){
+if ((!isset($config)) || $config->get_cfg_value("core","language") == ""){
$lang= get_browser_language();
} else {
- $lang= $config->get_cfg_value("language");
+ $lang= $config->get_cfg_value("core","language");
}
putenv("LANGUAGE=");
/* Create smarty & Set template compile directory */
$smarty= new smarty();
if (isset($config)){
- $smarty->compile_dir= $config->get_cfg_value("templateCompileDirectory", '/var/spool/gosa/');
+ $smarty->compile_dir= $config->get_cfg_value("core","templateCompileDirectory", '/var/spool/gosa/');
} else {
$smarty->compile_dir= '/var/spool/gosa/';
}
session::destroy ();
/* If we're not using htaccess authentication, just redirect... */
- if (isset($config) && $config->get_cfg_value("htaccessAuthentication") == "true"){
+ if (isset($config) && $config->get_cfg_value("core","htaccessAuthentication") == "true"){
/* Else notice that the user has to close the browser... */
$smarty->assign("iePngWorkaround", FALSE);