From d5b3dc01695ea9fc55a8d0305d7abd63a2103125 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 7 Jul 2010 15:32:49 +0000 Subject: [PATCH] Fixed usage of smarty templateCompileDirectory, in logout.php and helpviewer.php, seems we've missed some places. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@18954 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/helpviewer.php | 2 +- gosa-core/html/logout.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-core/html/helpviewer.php b/gosa-core/html/helpviewer.php index 4a4f39982..bdda44aba 100644 --- a/gosa-core/html/helpviewer.php +++ b/gosa-core/html/helpviewer.php @@ -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 ... diff --git a/gosa-core/html/logout.php b/gosa-core/html/logout.php index a29726d59..48225704a 100644 --- a/gosa-core/html/logout.php +++ b/gosa-core/html/logout.php @@ -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/'; } -- 2.30.2