Commit 5f22050e authored by Till Brehm's avatar Till Brehm
Browse files

Changed $config from empty string to empty array.

parent 46777f34
......@@ -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) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment