MT#6499 bin/config_debug.pl: more flexible localhost match

mr3.3.1
Victor Seva 12 years ago
parent 9934dcf59d
commit 62c95620e8

@ -99,7 +99,7 @@ else
tie @array, 'Tie::File', '/etc/hosts' or die ('Can set test domain on /etc/hosts');
for (@array)
{
s/127.0.0.1 localhost/127.0.0.1 localhost $domain/;
s/127.0.0.1[ \t]+localhost/127.0.0.1 localhost $domain/;
}
untie @array;
for my $i ('caller.csv', 'callee.csv')

Loading…
Cancel
Save