projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Globale Variablen $::userspath, $::templates, $::membersfile nach %::lx_office_conf...
[kivitendo-erp.git]
/
SL
/
Controller
/
Base.pm
diff --git
a/SL/Controller/Base.pm
b/SL/Controller/Base.pm
index
c63a8ee
..
723ce1d
100644
(file)
--- a/
SL/Controller/Base.pm
+++ b/
SL/Controller/Base.pm
@@
-55,7
+55,7
@@
sub render {
my $content_type = $options->{type} eq 'js' ? 'text/javascript' : 'text/html';
print $::form->create_http_response(content_type => $content_type,
my $content_type = $options->{type} eq 'js' ? 'text/javascript' : 'text/html';
print $::form->create_http_response(content_type => $content_type,
- charset => $::dbcharset || Common::DEFAULT_CHARSET);
+ charset => $::dbcharset || Common::DEFAULT_CHARSET
()
);
} else {
$::form->{title} = $locals{title} if $locals{title};
} else {
$::form->{title} = $locals{title} if $locals{title};
@@
-179,7
+179,7
@@
sub _template_obj {
PLUGIN_BASE => 'SL::Template::Plugin',
INCLUDE_PATH => '.:templates/webpages',
COMPILE_EXT => '.tcc',
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};
}) || croak;
return $self->{__basepriv_template_obj};