From: Sven Schöling Date: Fri, 29 Jan 2010 17:41:29 +0000 (+0100) Subject: Wo use Form steht muss auch der @INC overload drin sein. X-Git-Tag: release-2.6.2beta1~311 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0ea2ddad65a7079dbc914a01f07f49b5cd44ec14;p=kivitendo-erp.git Wo use Form steht muss auch der @INC overload drin sein. --- diff --git a/SL/Dispatcher.pm b/SL/Dispatcher.pm index 532592e66..44bf3be03 100644 --- a/SL/Dispatcher.pm +++ b/SL/Dispatcher.pm @@ -2,6 +2,12 @@ package SL::Dispatcher; use strict; +BEGIN { + unshift @INC, "modules/override"; # Use our own versions of various modules (e.g. YAML). + push @INC, "modules/fallback"; # Only use our own versions of modules if there's no system version. + push @INC, "SL"; # FCGI won't find modules that are not properly named. Help it by inclduging SL +} + use CGI qw( -no_xhtml); use English qw(-no_match_vars); use SL::Auth;