Code

Fixed usage of smarty templateCompileDirectory, in logout.php and helpviewer.php...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 7 Jul 2010 15:32:49 +0000 (15:32 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 7 Jul 2010 15:32:49 +0000 (15:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@18954 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/helpviewer.php
gosa-core/html/logout.php

index 4a4f39982a20872ccbd4f2bddd5585388e72939b..bdda44aba22f607dbe76af5c85a3f3b7ccc9c3ad 100644 (file)
@@ -60,7 +60,7 @@ bindtextdomain($domain, LOCALE_DIR);
 textdomain($domain);
 @DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__, $lang, "Setting language to");
 
-$smarty->compile_dir= $config->get_cfg_value("compile", "/var/spool/gosa/");
+$smarty->compile_dir= $config->get_cfg_value("templateCompileDirectory", "/var/spool/gosa/");
 $smarty->assign("title", "GOsa - "._("Help browser"));
 
 /* HELP management starts here ...
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/';
 }