summaryrefslogtreecommitdiffstats
path: root/Bugzilla/PSGI.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-03-04 02:23:42 +0100
committerDylan William Hardison <dylan@hardison.net>2018-03-10 21:54:38 +0100
commit78ebe18f428f152558fd2912c757f6b4448900a8 (patch)
treedea35276679af0aa8eaf7a7e58e9380ec367eafd /Bugzilla/PSGI.pm
parentd6bc2a79456a319fe073a470d1643721bf7adf5e (diff)
downloadbugzilla-78ebe18f428f152558fd2912c757f6b4448900a8.tar.gz
bugzilla-78ebe18f428f152558fd2912c757f6b4448900a8.tar.xz
psgi optionalize until can rebuild vendor bundle
Diffstat (limited to 'Bugzilla/PSGI.pm')
-rw-r--r--Bugzilla/PSGI.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Bugzilla/PSGI.pm b/Bugzilla/PSGI.pm
index 854ae733a..46352b319 100644
--- a/Bugzilla/PSGI.pm
+++ b/Bugzilla/PSGI.pm
@@ -13,13 +13,13 @@ use warnings;
use base qw(Exporter);
use Bugzilla::Logging;
-use CGI::Compile;
-use CGI::Emulate::PSGI;
-
our @EXPORT_OK = qw(compile_cgi);
sub compile_cgi {
my ($script) = @_;
+ require CGI::Compile;
+ require CGI::Emulate::PSGI;
+
my $cgi = CGI::Compile->compile($script);
my $app = CGI::Emulate::PSGI->handler(
sub {