diff options
author | myk%mozilla.org <> | 2002-03-12 21:54:53 +0000 |
---|---|---|
committer | myk%mozilla.org <> | 2002-03-12 21:54:53 +0000 |
commit | 496013d2cc0586cde9db0ace761292594fcae995 (patch) | |
tree | 619f2c7f7f253ce069595b09865d1bfb3c33e0f0 /checksetup.pl | |
parent | 38551035718d027fb8794f56a15fe1bf5a63676b (diff) | |
download | bugs-496013d2cc0586cde9db0ace761292594fcae995.tar bugs-496013d2cc0586cde9db0ace761292594fcae995.tar.gz bugs-496013d2cc0586cde9db0ace761292594fcae995.tar.bz2 bugs-496013d2cc0586cde9db0ace761292594fcae995.tar.xz bugs-496013d2cc0586cde9db0ace761292594fcae995.zip |
Fix for bug 103778: Rewrites and templatizes buglist.cgi.
Patch by Myk Melez <myk@mozilla.org>.
r=bbaetz,gerv
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-x | checksetup.pl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/checksetup.pl b/checksetup.pl index 44587f310..ab8b723fa 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -193,6 +193,7 @@ unless (have_vers("Date::Parse",0)) { push @missing,"Date::Parse" } unless (have_vers("AppConfig","1.52")) { push @missing,"AppConfig" } unless (have_vers("Template","2.06")) { push @missing,"Template" } unless (have_vers("Text::Wrap","2001.0131")) { push @missing,"Text::Wrap" } +unless (have_vers("File::Spec", "0.82")) { push @missing,"File::Spec" } # If CGI::Carp was loaded successfully for version checking, it changes the # die and warn handlers, we don't want them changed, so we need to stash the @@ -488,6 +489,21 @@ LocalVar('platforms', ' +LocalVar('contenttypes', ' +# +# The types of content that template files can generate, indexed by file extension. +# +$contenttypes = { + "html" => "text/html" , + "rdf" => "application/xml" , + "xml" => "text/xml" , + "js" => "application/x-javascript" , +}; +'); + + + + if ($newstuff ne "") { print "\nThis version of Bugzilla contains some variables that you may want\n", "to change and adapt to your local settings. Please edit the file\n", |