From: olav%bkor.dhs.org <> Date: Sun, 15 Oct 2006 19:03:13 +0000 (+0000) Subject: Bug 356206: Allow "do $file" to be used within localconfig X-Git-Tag: bugzilla-2.23.4~285 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=155b6f827f45feae82602c8010625408285b382d;p=thirdparty%2Fbugzilla.git Bug 356206: Allow "do $file" to be used within localconfig Patch By Olav Vitters r=mkanat a=justdave --- diff --git a/Bugzilla/Install/Localconfig.pm b/Bugzilla/Install/Localconfig.pm index 1f5da3108f..9cc8c49ccf 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 = $@ ? $@ : $!;