projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63a9044
)
Wo use Form steht muss auch der @INC overload drin sein.
author
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 29 Jan 2010 17:41:29 +0000
(18:41 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 20 Jul 2010 08:24:59 +0000
(10:24 +0200)
SL/Dispatcher.pm
patch
|
blob
|
history
diff --git
a/SL/Dispatcher.pm
b/SL/Dispatcher.pm
index
532592e
..
44bf3be
100644
(file)
--- 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;