Globale Variablen $::userspath, $::templates, $::membersfile nach %::lx_office_conf...
[kivitendo-erp.git] / SL / Controller / Base.pm
index c79ceec..723ce1d 100644 (file)
@@ -179,7 +179,7 @@ sub _template_obj {
                     PLUGIN_BASE  => 'SL::Template::Plugin',
                     INCLUDE_PATH => '.:templates/webpages',
                     COMPILE_EXT  => '.tcc',
-                    COMPILE_DIR  => $::userspath . '/templates-cache',
+                    COMPILE_DIR  => $::lx_office_conf{paths}->{userspath} . '/templates-cache',
                   }) || croak;
 
   return $self->{__basepriv_template_obj};