summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Install/Localconfig.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Install/Localconfig.pm b/Bugzilla/Install/Localconfig.pm
index 1f5da3108..9cc8c49cc 100644
--- a/Bugzilla/Install/Localconfig.pm
+++ b/Bugzilla/Install/Localconfig.pm
@@ -199,6 +199,9 @@ sub read_localconfig {
my %localconfig;
if (-e $filename) {
my $s = new Safe;
+ # Some people like to store their database password in another file.
+ $s->permit('dofile');
+
$s->rdo($filename);
if ($@ || $!) {
my $err_msg = $@ ? $@ : $!;