Revision 5c6e387a
Von Sven Schöling vor mehr als 3 Jahren hinzugefügt
SL/Form.pm | ||
---|---|---|
550 | 550 |
} |
551 | 551 |
$language = "de" unless ($language); |
552 | 552 |
|
553 |
if (-f "templates/webpages/${file}.html") { |
|
554 |
$file = "templates/webpages/${file}.html"; |
|
553 |
my $webpages_path = $::request->layout->webpages_path; |
|
554 |
|
|
555 |
if (-f "${webpages_path}/${file}.html") { |
|
556 |
$file = "${webpages_path}/${file}.html"; |
|
555 | 557 |
|
556 | 558 |
} elsif (ref $file eq 'SCALAR') { |
557 | 559 |
# file is a scalarref, use inline mode |
Auch abrufbar als: Unified diff
Layout: webpages_path jetzt im Layout