From e7d52be303c9251fa2a46dee0d9a6c45fb0e2d54 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 22 Aug 2012 17:50:50 +0200 Subject: [PATCH] Vor Exception-Ausgabe sicherstellen, dass das aktuelle Verzeichnis OK ist --- SL/Dispatcher.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/SL/Dispatcher.pm b/SL/Dispatcher.pm index 5b912232b..c6f3b5e10 100644 --- a/SL/Dispatcher.pm +++ b/SL/Dispatcher.pm @@ -253,6 +253,7 @@ sub handle_request { if ($EVAL_ERROR ne END_OF_REQUEST) { print STDERR $EVAL_ERROR; $::form->{label_error} = $::request->{cgi}->pre($EVAL_ERROR); + chdir SL::System::Process::exe_dir; eval { show_error('generic/error') }; } }; -- 2.20.1