From ce93faa2779aadb50ad858eea69bd70bacf00341 Mon Sep 17 00:00:00 2001 From: billz Date: Tue, 30 Apr 2019 22:18:44 +0000 Subject: [PATCH] Update write_php_ini --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index 035a8848..1b71fa19 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -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;