1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Update write_php_ini

This commit is contained in:
billz 2019-04-30 22:18:44 +00:00
parent 93e1fff5d5
commit ce93faa277

View File

@ -23,7 +23,7 @@ function write_php_ini($array, $file)
$res[] = "$key = ".(is_numeric($val) ? $val : '"'.$val.'"'); $res[] = "$key = ".(is_numeric($val) ? $val : '"'.$val.'"');
} }
} }
if (safefilerewrite($file, implode("\r\n", $res))) { if (safefilerewrite($file, implode(PHP_EOL, $res))) {
return true; return true;
} else { } else {
return false; return false;