Merge remote-tracking branch 'origin/new/bug_8315'
[koha_fer] / misc / cronjobs / zebraqueue_start.pl
index b79aeaa..ea84156 100755 (executable)
@@ -2,7 +2,13 @@
 # script that starts the zebraquee
 #  Written by TG on 01/08/2006
 use strict;
-
+#use warnings; FIXME - Bug 2505
+BEGIN {
+    # find Koha's Perl modules
+    # test carefully before changing this
+    use FindBin;
+    eval { require "$FindBin::Bin/../kohalib.pl" };
+}
 
 use C4::Context;
 use C4::Biblio;