mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 349045: Allow config variables to be overridden in the Apache config so multiple installs can live in the same docroot
r=gerv
This commit is contained in:
parent
0adb521b8c
commit
e4db6ab1b0
@ -37,15 +37,16 @@ use Email::Send qw(NNTP);
|
||||
# use CGI::Carp qw(fatalsToBrowser);
|
||||
|
||||
# Configuration
|
||||
my $newsgroup = "mozilla.feedback";
|
||||
my $server = "news.mozilla.org";
|
||||
my $newsgroup = $::ENV{'HENDRIX_NEWSGROUP'} || "mozilla.feedback";
|
||||
my $server = $::ENV{'HENDRIX_NNTP_SERVER'} || "news.mozilla.org";
|
||||
my $skin = $::ENV{'HENDRIX_SKIN'} || "skin/planet.css";
|
||||
|
||||
my $cgi = new CGI;
|
||||
my $form = $cgi->Vars;
|
||||
my $vars;
|
||||
$vars->{'form'} = $form;
|
||||
$vars->{'newsgroup'} = $newsgroup;
|
||||
$vars->{'stylesheet'} = "skin/planet.css";
|
||||
$vars->{'stylesheet'} = $skin;
|
||||
|
||||
my $template = Template->new({
|
||||
INCLUDE_PATH => ["template"],
|
||||
|
Loading…
Reference in New Issue
Block a user