Revision 2536b717
Von Sven Schöling vor mehr als 10 Jahren hinzugefügt
SL/DBUpgrade2/Base.pm | ||
---|---|---|
90 | 90 |
croak "File '${src_dir}/$_' does not exist" unless -f "${src_dir}/$_"; |
91 | 91 |
} |
92 | 92 |
|
93 |
my $template_dir = $::instance_conf->reload->get_templates; |
|
93 |
return 1 unless my $template_dir = $::instance_conf->reload->get_templates;
|
|
94 | 94 |
$::lxdebug->message(LXDebug::DEBUG1(), "add_print_templates: template_dir $template_dir"); |
95 | 95 |
|
96 |
return 1 if !$template_dir; |
|
97 |
|
|
98 | 96 |
foreach my $src_file (@files) { |
99 | 97 |
my $dest_file = $template_dir . '/' . $src_file; |
100 | 98 |
|
Auch abrufbar als: Unified diff
2 Warnungen in den Tests beseitigen