Skip to content
Snippets Groups Projects
Commit 5f22050e authored by Till Brehm's avatar Till Brehm
Browse files

Changed $config from empty string to empty array.

parent 46777f34
No related branches found
No related tags found
No related merge requests found
......@@ -618,7 +618,7 @@ function edit_xinetd_conf($service){
//* Converts a ini string to array
function ini_to_array($ini) {
$config = '';
$config = array();
$ini = str_replace("\r\n", "\n", $ini);
$lines = explode("\n", $ini);
foreach($lines as $line) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment