From: Moritz Bunkus Date: Fri, 5 Feb 2010 15:46:19 +0000 (+0100) Subject: Template-Cache-Verzeichnis im $::userspath anlegen X-Git-Tag: release-2.6.2beta1~208 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ed5b92f8196c83e1654a584de6e8a08847dd211f;p=kivitendo-erp.git Template-Cache-Verzeichnis im $::userspath anlegen --- 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";