From 8c54ba8eeb4c16ffeba65f97f3e1949c7217ce41 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Sun, 26 May 2019 02:37:39 +0900 Subject: [PATCH] Update storage.php --- system/storage.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/system/storage.php b/system/storage.php index d2bd0be..d9e94dc 100644 --- a/system/storage.php +++ b/system/storage.php @@ -303,6 +303,9 @@ if(!check_function_exists("write_storage_file")) { if(!check_function_exists("append_storage_file")) { function append_storage_file($data, $options=array()) { $options['mode'] = "a"; + if(array_key_equals("newline", $options, true)) { + $data .= DOC_EOL; + } return write_storage_file($data, $options); } }