Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Guilherme Filippo
ISPConfig 3
Commits
0ab659dc
Commit
0ab659dc
authored
Sep 02, 2010
by
jmontoya
Browse files
Adding trim in the ini_parser::get_ini_string() function
parent
35cc408f
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/lib/classes/ini_parser.inc.php
View file @
0ab659dc
...
...
@@ -59,6 +59,8 @@ class ini_parser{
$content
.
=
"[
$section
]
\n
"
;
foreach
(
$data
as
$item
=>
$value
)
{
if
(
$item
!=
''
){
$value
=
trim
(
$value
);
$item
=
trim
(
$item
);
$content
.
=
"
$item
=
$value
\n
"
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment