]> wagnertech.de Git - kivitendo-erp.git/blobdiff - dispatcher.pl
Module: Exception::Lite durch Exception::Class ersetzt
[kivitendo-erp.git] / dispatcher.pl
index 433ffe9d3f1980b410a6676484b04a8de41fc6ae..e5621f6f5cb0f2d69fad5d743dbdf283979dbb99 100755 (executable)
@@ -2,6 +2,14 @@
 
 use strict;
 
+BEGIN {
+  use FindBin;
+
+  unshift(@INC, $FindBin::Bin . '/modules/override'); # Use our own versions of various modules (e.g. YAML).
+  push   (@INC, $FindBin::Bin);                       # '.' will be removed from @INC soon.
+  push   (@INC, $FindBin::Bin . '/modules/fallback'); # Only use our own versions of modules if there's no system version.
+}
+
 use SL::Dispatcher;
 
 our $dispatcher = SL::Dispatcher->new('CGI');