X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/0f13c96b9a8a89a3dfdb8c84d523746b42bad7d5..ffac48200e07de28e9efcb20c668ba3f1e3ed12e:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index 547611d68..55ee46d4c 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -695,6 +695,8 @@ sub init_template { return $self->template if $self->template; + # Force scripts/locales.pl to pick up the exception handling template. + # parse_html_template('generic/exception') return $self->template(Template->new({ 'INTERPOLATE' => 0, 'EVAL_PERL' => 0, @@ -704,6 +706,7 @@ sub init_template { 'INCLUDE_PATH' => '.:templates/webpages', 'COMPILE_EXT' => '.tcc', 'COMPILE_DIR' => $::lx_office_conf{paths}->{userspath} . '/templates-cache', + 'ERROR' => 'templates/webpages/generic/exception.html', })) || die; }