We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ab659d commit 3bf049bCopy full SHA for 3bf049b
server/lib/classes/ini_parser.inc.php
@@ -58,7 +58,11 @@ function get_ini_string($file) {
58
foreach($this->config as $section => $data) {
59
$content .= "[$section]\n";
60
foreach($data as $item => $value) {
61
- if($value != '') $content .= "$item=$value\n";
+ if($value != '') {
62
+ $value = trim($value);
63
+ $item = trim($item);
64
+ $content .= "$item=$value\n";
65
+ }
66
}
67
68
return $content;
0 commit comments