Code

Fixed usage of smarty templateCompileDirectory, in logout.php and helpviewer.php...
[gosa.git] / gosa-core / html / logout.php
index a29726d59babb7ad83e91a7c6978333066f6f633..48225704a8e287b8f8b43a0687dc10380e4b1477 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("compile", '/var/spool/gosa/');
+       $smarty->compile_dir= $config->get_cfg_value("templateCompileDirectory", '/var/spool/gosa/');
 } else {
        $smarty->compile_dir= '/var/spool/gosa/';
 }