projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Falschen Spaltennamen korrigiert.
[kivitendo-erp.git]
/
SL
/
Inifile.pm
diff --git
a/SL/Inifile.pm
b/SL/Inifile.pm
index
f7fe27b
..
aadec0a
100644
(file)
--- a/
SL/Inifile.pm
+++ b/
SL/Inifile.pm
@@
-52,12
+52,10
@@
sub new {
open FH, "$file" or Form->error("$file : $!");
while (<FH>) {
open FH, "$file" or Form->error("$file : $!");
while (<FH>) {
- next if m/^(#|;|\s)/;
-
chomp;
# strip comments
chomp;
# strip comments
- s/
(#|;)
.*//g;
+ s/
#
.*//g;
# remove any trailing whitespace
s/^\s*//;
# remove any trailing whitespace
s/^\s*//;