mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Single quotes
This commit is contained in:
@@ -15,7 +15,8 @@ local(@rv, $line);
|
||||
open(CONF, $config{'majordomo_cf'});
|
||||
while(<CONF>) {
|
||||
s/\r|\n//g;
|
||||
if (/^\s*\$(\S+)\s*=\s*"(.*)";\s*$/) {
|
||||
if (/^\s*\$(\S+)\s*=\s*"(.*)";\s*$/ ||
|
||||
/^\s*\$(\S+)\s*=\s*'(.*)';\s*$/) {
|
||||
# static config option
|
||||
push(@rv, { 'name' => $1,
|
||||
'value' => &perl_unescape($2),
|
||||
|
||||
Reference in New Issue
Block a user