mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Inconsistent comments in INI files
There is minor inconsistency with comment handling in INI file: ``` dir1 = "I have commentsPost(c1)" ; c1 dir2 = I have no comments ; c2 dir3 = I have commentsPre(c2) from previous line ```
This commit is contained in:
parent
bb4b53e90c
commit
359c89cc1f
@ -153,7 +153,7 @@ class IniParser
|
||||
$state = self::LINE_START;
|
||||
$line ++;
|
||||
} elseif ($s === ';') {
|
||||
$state = self::COMMENT;
|
||||
$state = self::COMMENT_END;
|
||||
}
|
||||
} else {
|
||||
$token .= $s;
|
||||
|
Loading…
x
Reference in New Issue
Block a user