New CGI in an extension?
Max Kanat-Alexander
mkanat at bugzilla.org
Sat Mar 12 19:01:30 UTC 2011
On 03/12/2011 07:20 AM, Gervase Markham wrote:
> If one wanted to ship a new CGI as part of an extension, is there any
> way to do that within the extension directory structure itself (i.e.
> maintaining the property that the extension is just "drop in and go",
> that it can be disabled using a 'disabled' file and so on) or does one
> have to put the CGI in $BUGZILLA_HOME?
Instead of doing this, you should use the page_before_template hook.
See how the Voting extension does it.
-Max
--
http://www.bugzillasource.com/
Competent, Friendly Bugzilla, Perl, and IT Services
More information about the developers
mailing list