]> wagnertech.de Git - kivitendo-erp.git/blobdiff - scripts/spawn_oo.pl
Schreibfehler. Fix für Bug 712.
[kivitendo-erp.git] / scripts / spawn_oo.pl
index 03e5afd562842c78867fe21227902b72b86c850e..b192a931852a3bfdcedcbd8e66172e32e0bed294 100755 (executable)
@@ -1,7 +1,8 @@
 #!/usr/bin/perl
 
 BEGIN {
-  push(@INC, "modules");
+  unshift @INC, "modules/YAML"; # Use our own version of YAML.
+  push @INC, "modules";         # Only use our own versions of modules if there's no system version.
 }
 
 use DBI;
@@ -25,8 +26,6 @@ require "lx-erp.conf";
 
 $form = new Form;
 $form->{"script"} = "oe.pl";
-$form->{"path"} = "bin/mozilla";
-
 
 $ENV{'HOME'} = getcwd() . "/$userspath";