From a40d927bfd9a9b3012be9e0f85da84aa4dd58344 Mon Sep 17 00:00:00 2001 From: "bbaetz%student.usyd.edu.au" <> Date: Fri, 20 Dec 2002 15:21:24 +0000 Subject: Bug 173622 - Move template handling into a module. r=justdave, joel, a=justdave --- CGI.pl | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'CGI.pl') diff --git a/CGI.pl b/CGI.pl index c8da97174..6b9751df6 100644 --- a/CGI.pl +++ b/CGI.pl @@ -893,12 +893,10 @@ sub GetBugActivity { ############# Live code below here (that is, not subroutine defs) ############# -use Bugzilla::CGI(); +use Bugzilla; -# XXX - mod_perl, this needs to move into all the scripts individually -# Once we do that, look into setting DISABLE_UPLOADS, and overriding -# on a per-script basis -$::cgi = new Bugzilla::CGI(); +# XXX - mod_perl - reset this between runs +$::cgi = Bugzilla->instance->cgi; # Set up stuff for compatibility with the old CGI.pl code # This code will be removed as soon as possible, in favour of -- cgit v1.2.3-24-g4f1b