X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/db53dc8ab328b82c7af17896487674ad98f2af6b..777bf75cfcfc81a87479a508ea900de4a64c483e:/SL/Inifile.pm diff --git a/SL/Inifile.pm b/SL/Inifile.pm index f7fe27b3c..aadec0af1 100644 --- a/SL/Inifile.pm +++ b/SL/Inifile.pm @@ -52,12 +52,10 @@ sub new { open FH, "$file" or Form->error("$file : $!"); while () { - next if m/^(#|;|\s)/; - chomp; # strip comments - s/(#|;).*//g; + s/#.*//g; # remove any trailing whitespace s/^\s*//;