Code

Check things only once
[gosa.git] / gosa-core / html / logout.php
index dc6a14572c1ea5ee83e9b56d61c338a68865975e..93532c9d88dbb8e7d3a1685abd7fc449c0939496 100644 (file)
@@ -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("core","templateCompileDirectory", '/var/spool/gosa/');
+       $smarty->compile_dir= $config->get_cfg_value("core","templateCompileDirectory");
 } else {
        $smarty->compile_dir= '/var/spool/gosa/';
 }
@@ -81,8 +81,6 @@ if (isset($_POST['forcedlogout']) || isset($_GET['forcedlogout'])){
   if (isset($config) && $config->get_cfg_value("core","htaccessAuthentication") == "true"){
 
     /* Else notice that the user has to close the browser... */
-    $smarty->assign("iePngWorkaround", FALSE);
-
     $smarty->display (get_template_path('headers.tpl'));
     $smarty->display (get_template_path('logout-close.tpl'));
     exit;