X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDispatcher.pm;h=6b7cf630097091bd4dd34fb24586b45e2244f57b;hb=07ff196fa5510308b3daa45681574abf23b919ca;hp=a37a01ed94b263077e0ccc8686b8a9088da84cce;hpb=09479f022ab9e0815ceee55923ae46df51afbd42;p=kivitendo-erp.git diff --git a/SL/Dispatcher.pm b/SL/Dispatcher.pm index a37a01ed9..6b7cf6300 100644 --- a/SL/Dispatcher.pm +++ b/SL/Dispatcher.pm @@ -7,15 +7,6 @@ use strict; # parse_html_template('login_screen/user_login') # parse_html_template('generic/error') -BEGIN { - use SL::System::Process; - my $exe_dir = SL::System::Process::exe_dir; - - unshift @INC, "${exe_dir}/modules/override"; # Use our own versions of various modules (e.g. YAML). - push @INC, "${exe_dir}/modules/fallback"; # Only use our own versions of modules if there's no system version. - unshift @INC, $exe_dir; -} - use Carp; use CGI qw( -no_xhtml); use Config::Std; @@ -353,11 +344,10 @@ sub handle_request { $::locale = undef; $::form = undef; - $::myconfig = (); + %::myconfig = (); $::request = undef; SL::DBConnect::Cache->reset_all; - Form::disconnect_standard_dbh; $self->_watch_for_changed_files;