Bug 40933 Windows
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@251 6955db30-a419-402b-8a0d-67ecbb4d7f56master
parent
b09108cfd3
commit
908abbcc2f
|
@ -29,7 +29,6 @@ use strict;
|
|||
# file.
|
||||
|
||||
use Apache2::ServerUtil;
|
||||
use ModPerl::RegistryLoader ();
|
||||
use CGI ();
|
||||
CGI->compile(qw(:cgi -no_xhtml -oldstyle_urls :private_tempfiles
|
||||
:unique_headers SERVER_PUSH :push));
|
||||
|
@ -69,18 +68,6 @@ if ($^O =~ /MSWin32/i)
|
|||
|
||||
$server->add_config([split("\n", $conf)]);
|
||||
|
||||
# Have ModPerl::RegistryLoader pre-compile all CGI scripts.
|
||||
my $rl = new ModPerl::RegistryLoader();
|
||||
# If we try to do this in "new" it fails because it looks for a
|
||||
# Bugzilla/ModPerl/ResponseHandler.pm
|
||||
$rl->{package} = 'Bugzilla::ModPerl::ResponseHandler';
|
||||
# Note that $cgi_path will be wrong if somebody puts the libraries
|
||||
# in a different place than the CGIs.
|
||||
foreach my $file (glob "$cgi_path/*.cgi") {
|
||||
Bugzilla::Util::trick_taint($file);
|
||||
$rl->handler($file, $file);
|
||||
}
|
||||
|
||||
|
||||
package Bugzilla::ModPerl::ResponseHandler;
|
||||
use strict;
|
||||
|
|
Loading…
Reference in New Issue