Die globale Variable $sendmail wird nur in SL/Mailer.pm benötigt und sollte deswegen...
[kivitendo-erp.git] / kopf.pl
diff --git a/kopf.pl b/kopf.pl
index 001ac98..5ee9f2f 100755 (executable)
--- a/kopf.pl
+++ b/kopf.pl
@@ -1,10 +1,16 @@
 #!/usr/bin/perl
 #
 
+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.
+}
+
 use SL::LXDebug;
 $lxdebug = LXDebug->new();
 
 use SL::Form;
+use SL::Locale;
 
 eval { require "lx-erp.conf"; };