Revision 8cd05ad6
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/Template.pm | ||
---|---|---|
22 | 22 |
my %params = @_; |
23 | 23 |
my $package = "SL::Template::" . $params{type}; |
24 | 24 |
|
25 |
$package->new($params{file_name}, $params{form}, $params{myconfig} || \%::myconfig, $params{userspath} || $::userspath);
|
|
25 |
$package->new($params{file_name}, $params{form}, $params{myconfig} || \%::myconfig, $params{userspath} || $::lx_office_conf{paths}->{userspath});
|
|
26 | 26 |
} |
27 | 27 |
|
28 | 28 |
1; |
Auch abrufbar als: Unified diff
Globale Variablen $::userspath, $::templates, $::membersfile nach %::lx_office_conf verschoben