summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install/Localconfig.pm
diff options
context:
space:
mode:
authorMatt Selsky <selsky@columbia.edu>2014-12-15 18:47:48 +0100
committerGervase Markham <gerv@gerv.net>2014-12-15 18:47:48 +0100
commitadc3c7a7b51bd32732d1f65aa9da180c1e6e15d8 (patch)
tree5c2a4825b7f0aac15556dfe4ee29129cb238c4db /Bugzilla/Install/Localconfig.pm
parentf264250ff423e53d44fee297b5648f437c910d02 (diff)
downloadbugzilla-adc3c7a7b51bd32732d1f65aa9da180c1e6e15d8.tar.gz
bugzilla-adc3c7a7b51bd32732d1f65aa9da180c1e6e15d8.tar.xz
Bug 950486: Move the webdotbase and font_file parameters from data/params into localconfig (and kill the Graphs panel). r=gerv, a=glob.
Diffstat (limited to 'Bugzilla/Install/Localconfig.pm')
-rw-r--r--Bugzilla/Install/Localconfig.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/Bugzilla/Install/Localconfig.pm b/Bugzilla/Install/Localconfig.pm
index 7f473cc77..4ccd107ae 100644
--- a/Bugzilla/Install/Localconfig.pm
+++ b/Bugzilla/Install/Localconfig.pm
@@ -109,6 +109,14 @@ use constant LOCALCONFIG_VARS => (
default => sub { dirname(bin_loc('diff')) },
},
{
+ name => 'font_file',
+ default => '',
+ },
+ {
+ name => 'webdotbase',
+ default => '',
+ },
+ {
name => 'site_wide_secret',
# 64 characters is roughly the equivalent of a 384-bit key, which
# is larger than anybody would ever be able to brute-force.
@@ -225,6 +233,9 @@ sub update_localconfig {
if (exists $answer->{$name}) {
$localconfig->{$name} = $answer->{$name};
}
+ elsif (exists Bugzilla->params->{$name}) {
+ $localconfig->{$name} = Bugzilla->params->{$name};
+ }
else {
# If the user did not supply an answers file, then they get
# notified about every variable that gets added. If there was