[Finn-Arne Johansen] > Looks like the bug is in the php-function "parse_ini_file"
I found <URL:http://php.net/manual/en/function.parse-ini-file.php> mentioning this behaviour: Be careful with the string "none", for example if you want to save a CSS border-style in your config.ini file : [style] borderstyle=none will return: 'style' => array ( 'borderstyle' => '' ) and not 'style' => array ( 'borderstyle' => 'none' ) The solution is to quote the string none : [style] borderstyle="none" Apparently none is part of the set of magic values not being passed on from parse_ini_file() without harm. :) > It looks like it works if you put the group name "none" in single quotes > like this: 'none' Yeah. > Don't remember why the group 'none' was added anymore, maybe it's a sign > that it should go away ? I do not know either, and suspect dropping should work. At least I can not remember anything using the none group. > Not sure how to fix this. I think it's a bug of php5, (and maybe > debian-edu), it could be fixed in lwat, but then we have to write a > new parser for ini-files, and I dont think i want that. Rewriting lwat to handle empty values would probably be a good idea anyway. I guess it could be possible to get lwat to accept empty ('') groups values, and not croak on them. It could be done even if the 'none' pgroup is dropped. A new upstream release with such change would be most welcome. :) Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org