mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Allow use of # comment lines https://github.com/webmin/webmin/issues/915
This commit is contained in:
@@ -311,6 +311,7 @@ if ($file !~ /^\// && $file !~ /\|\s*$/) {
|
||||
open(FILE, $file);
|
||||
while(<FILE>) {
|
||||
s/\r|\n//g;
|
||||
next if (/^#/);
|
||||
if (/^"([^"]*)"\s+"([^"]*)"$/) {
|
||||
push(@rv, [ $1, $2 ]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user