From db94ec0146200c1f2880fd49191434f48e18e620 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 5 May 2010 10:03:28 +0000 Subject: [PATCH] Added property class to get_cfg_requests git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18103 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/logout.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gosa-core/html/logout.php b/gosa-core/html/logout.php index 074670e15..dc6a14572 100644 --- a/gosa-core/html/logout.php +++ b/gosa-core/html/logout.php @@ -45,10 +45,10 @@ if(session::global_is_set('ui')){ } /* 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="); @@ -65,7 +65,7 @@ textdomain($domain); /* 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/'; } @@ -78,7 +78,7 @@ if (isset($_POST['forcedlogout']) || isset($_GET['forcedlogout'])){ 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); -- 2.30.2