mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 23:20:22 +00:00
Update write_php_ini
This commit is contained in:
parent
93e1fff5d5
commit
ce93faa277
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ function write_php_ini($array, $file)
|
|||
$res[] = "$key = ".(is_numeric($val) ? $val : '"'.$val.'"');
|
||||
}
|
||||
}
|
||||
if (safefilerewrite($file, implode("\r\n", $res))) {
|
||||
if (safefilerewrite($file, implode(PHP_EOL, $res))) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue