From 2b9f079df738232814d05fd550eef64da415ee2b Mon Sep 17 00:00:00 2001 From: "olav%bkor.dhs.org" Date: Sun, 15 Oct 2006 12:03:13 +0000 Subject: [PATCH] Bug 356206: Allow "do $file" to be used within localconfig Patch By Olav Vitters r=mkanat a=justdave git-svn-id: svn://10.0.0.236/trunk@213671 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/Bugzilla/Install/Localconfig.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mozilla/webtools/bugzilla/Bugzilla/Install/Localconfig.pm b/mozilla/webtools/bugzilla/Bugzilla/Install/Localconfig.pm index 1f5da3108f4..9cc8c49ccfd 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/Install/Localconfig.pm +++ b/mozilla/webtools/bugzilla/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 = $@ ? $@ : $!;