From: endico%mozilla.org <> Date: Sat, 24 Jun 2000 06:52:32 +0000 (+0000) Subject: move new path code to beginning X-Git-Tag: bugzilla-2.12~254 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3346ad4502d5eb84714414a7ead209f899e8d488;p=thirdparty%2Fbugzilla.git move new path code to beginning --- diff --git a/importxml.pl b/importxml.pl index 4310c69f8e..7793d3e69d 100755 --- a/importxml.pl +++ b/importxml.pl @@ -27,13 +27,6 @@ use diagnostics; use strict; -use XML::Parser; -use Data::Dumper; -$Data::Dumper::Useqq = 1; - -require "CGI.pl"; -require "globals.pl"; -$::lockcount = 0; # figure out which path this script lives in. Set the current path to # this and add it to @INC so this will work when run as part of mail @@ -43,6 +36,14 @@ $path =~ s#(.*)/[^/]+#$1#; chdir $path; use lib ($path); +use XML::Parser; +use Data::Dumper; +$Data::Dumper::Useqq = 1; + +require "CGI.pl"; +require "globals.pl"; +$::lockcount = 0; + GetVersionTable(); ConnectToDatabase(); @@ -563,7 +564,6 @@ for (my $k=1 ; $k <= $bugqty ; $k++) { } } -$log .= "\n\n my $subject = "$bugqty bug(s) successfully moved from $urlbase to " . Param("urlbase") ; my @to = ($exporter);