From ed5b92f8196c83e1654a584de6e8a08847dd211f Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 5 Feb 2010 16:46:19 +0100 Subject: [PATCH] Template-Cache-Verzeichnis im $::userspath anlegen --- .gitignore | 2 +- SL/Form.pm | 4 ++-- config/lx-erp.conf | 4 ---- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index be369e0a2..25b8d194c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ tags crm /users/datev-export* -/templates/cache +/users/templates-cache/ diff --git a/SL/Form.pm b/SL/Form.pm index 22af6fb43..5540b9555 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -872,8 +872,8 @@ sub init_template { 'CACHE_SIZE' => 0, 'PLUGIN_BASE' => 'SL::Template::Plugin', 'INCLUDE_PATH' => '.:templates/webpages', - 'COMPILE_EXT' => $main::template_compile_ext, - 'COMPILE_DIR' => $main::template_compile_dir, + 'COMPILE_EXT' => '.tcc', + 'COMPILE_DIR' => $::userspath . '/templates-cache', })) || die; } diff --git a/config/lx-erp.conf b/config/lx-erp.conf index d75c017ae..205147d69 100644 --- a/config/lx-erp.conf +++ b/config/lx-erp.conf @@ -13,10 +13,6 @@ $spool = "spool"; # templates base directory $templates = "templates"; -# template toolkit caching options -$template_compile_ext = '.tcc'; -$template_compile_dir = 'templates/cache'; - # member file $memberfile = "users/members"; -- 2.20.1