Commit 155b6f82 authored by olav%bkor.dhs.org's avatar olav%bkor.dhs.org

Bug 356206: Allow "do $file" to be used within localconfig

Patch By Olav Vitters <olav@bkor.dhs.org> r=mkanat a=justdave
parent bd26b3fa
......@@ -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 = $@ ? $@ : $!;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment