From 155b6f827f45feae82602c8010625408285b382d Mon Sep 17 00:00:00 2001 From: "olav%bkor.dhs.org" <> Date: Sun, 15 Oct 2006 19:03:13 +0000 Subject: Bug 356206: Allow "do $file" to be used within localconfig Patch By Olav Vitters r=mkanat a=justdave --- Bugzilla/Install/Localconfig.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Bugzilla') 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 = $@ ? $@ : $!; -- cgit v1.2.3-24-g4f1b