diff options
Diffstat (limited to 'testserver.pl')
-rwxr-xr-x | testserver.pl | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/testserver.pl b/testserver.pl index bf818cd0f..9c12b9573 100755 --- a/testserver.pl +++ b/testserver.pl @@ -21,14 +21,8 @@ use strict; use lib "."; -BEGIN { - my $envpath = $ENV{'PATH'}; - require Bugzilla; - $ENV{'PATH'} = $envpath; -} - +use Bugzilla; use Bugzilla::Constants; -use Bugzilla::Config qw(:localconfig); use Socket; @@ -62,6 +56,7 @@ if ($^O !~ /MSWin32/i) { # Determine the numeric GID of $webservergroup my $webgroupnum = 0; +my $webservergroup = Bugzilla->localconfig->{webservergroup}; if ($webservergroup =~ /^(\d+)$/) { $webgroupnum = $1; } else { |