X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=scripts%2Fspawn_oo.pl;h=26991f109cb137652d6a1cc2a1c0f86822a1f9e0;hb=ec35cbcff8c79cdda05d56e8677a2251531f1166;hp=b192a931852a3bfdcedcbd8e66172e32e0bed294;hpb=99ed8abf161b15ba5456c34f59a6155281cb2eea;p=kivitendo-erp.git diff --git a/scripts/spawn_oo.pl b/scripts/spawn_oo.pl index b192a9318..26991f109 100755 --- a/scripts/spawn_oo.pl +++ b/scripts/spawn_oo.pl @@ -1,8 +1,8 @@ #!/usr/bin/perl BEGIN { - 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. + 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 DBI; @@ -29,7 +29,7 @@ $form->{"script"} = "oe.pl"; $ENV{'HOME'} = getcwd() . "/$userspath"; -my $template = OpenDocumentTemplate->new("", $form, \%myconfig, $userspath); +my $template = SL::Template::create(type => 'OpenDocument', file_name => '', form => $form, myconfig => \%myconfig, userspath => $userspath); if (@ARGV && ($ARGV[0] eq "-r")) { system("ps auxww | " .