summaryrefslogtreecommitdiffstats
path: root/web_wizard/Apache.pm
diff options
context:
space:
mode:
Diffstat (limited to 'web_wizard/Apache.pm')
-rwxr-xr-xweb_wizard/Apache.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/web_wizard/Apache.pm b/web_wizard/Apache.pm
index 6cb7187e..0f28559e 100755
--- a/web_wizard/Apache.pm
+++ b/web_wizard/Apache.pm
@@ -48,6 +48,7 @@ my $o = {
init => sub {
if (-f $file) {
open my $FH, $file or die "$! ($file)";
+ local $_;
while (<$FH>) {
if (/^\s*#?\s*DocumentRoot\s+(.*)/) {
close($FH);