summaryrefslogtreecommitdiff
path: root/php
diff options
context:
space:
mode:
authorRichard Bos <richard@radoeka.nl>2008-03-30 19:44:19 (GMT)
committerRichard Bos <richard@radoeka.nl>2008-03-30 19:44:19 (GMT)
commit9142e82ee2e016d3f95e0053f648007f8d151d48 (patch)
tree38bc1660d5d5f8480b9c979ccbf8a6ecff0be6d3 /php
parentcbbcddba3c1bb59d7656da876c4cf99688fc511c (diff)
downloadkolab-webadmin-9142e82ee2e016d3f95e0053f648007f8d151d48.tar.gz
Make smarty compile location configurable, variable smarty_compiledir
is used for this. See issue2538
Diffstat (limited to 'php')
-rw-r--r--php/admin/include/mysmarty.php.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/php/admin/include/mysmarty.php.in b/php/admin/include/mysmarty.php.in
index 0f56940..9762af8 100644
--- a/php/admin/include/mysmarty.php.in
+++ b/php/admin/include/mysmarty.php.in
@@ -35,9 +35,9 @@ class MySmarty extends Smarty {
$this->Smarty();
$basedir = "$php_dir/@kolab_php_module_prefix@admin/";
- $this->template_dir = $basedir.'templates/';
- $this->compile_dir = $basedir.'templates_c/';
$this->config_dir = $basedir.'configs/';
+ $this->template_dir = $basedir.'templates/';
+ $this->compile_dir = '@smarty_compiledir@/';
//$this->cache_dir = $basedir.'cache/';
// Added for i18n management (Romain 05-03-03)
$this->register_function("tr", "translate");