Revision 8cd05ad6
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/Form.pm | ||
---|---|---|
861 | 861 |
'PLUGIN_BASE' => 'SL::Template::Plugin', |
862 | 862 |
'INCLUDE_PATH' => '.:templates/webpages', |
863 | 863 |
'COMPILE_EXT' => '.tcc', |
864 |
'COMPILE_DIR' => $::userspath . '/templates-cache',
|
|
864 |
'COMPILE_DIR' => $::lx_office_conf{paths}->{userspath} . '/templates-cache',
|
|
865 | 865 |
})) || die; |
866 | 866 |
} |
867 | 867 |
|
... | ... | |
1191 | 1191 |
sub parse_template { |
1192 | 1192 |
$main::lxdebug->enter_sub(); |
1193 | 1193 |
|
1194 |
my ($self, $myconfig, $userspath) = @_;
|
|
1194 |
my ($self, $myconfig) = @_; |
|
1195 | 1195 |
my $out; |
1196 | 1196 |
|
1197 | 1197 |
local (*IN, *OUT); |
1198 | 1198 |
|
1199 |
my $userspath = $::lx_office_conf{paths}->{userspath}; |
|
1200 |
|
|
1199 | 1201 |
$self->{"cwd"} = getcwd(); |
1200 | 1202 |
$self->{"tmpdir"} = $self->{cwd} . "/${userspath}"; |
1201 | 1203 |
|
Auch abrufbar als: Unified diff
Globale Variablen $::userspath, $::templates, $::membersfile nach %::lx_office_conf verschoben