From d36a359cc09ffb4054eae29caf7c66e96c3e3c44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Mon, 14 Feb 2022 17:39:51 +0800 Subject: [PATCH] modify plugin name --- kiri-engine/Abstracts/BaseApplication.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kiri-engine/Abstracts/BaseApplication.php b/kiri-engine/Abstracts/BaseApplication.php index 3658c667..5aa137e3 100644 --- a/kiri-engine/Abstracts/BaseApplication.php +++ b/kiri-engine/Abstracts/BaseApplication.php @@ -108,10 +108,10 @@ abstract class BaseApplication extends Component protected function readLinesFromFile(string $filePath): array { // Read file into an array of lines with auto-detected line endings - $autodetect = ini_get('auto_detect_line_endings'); - ini_set('auto_detect_line_endings', '1'); +// $autodetect = ini_get('auto_detect_line_endings'); +// ini_set('auto_detect_line_endings', '1'); $lines = file($filePath, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); - ini_set('auto_detect_line_endings', $autodetect); +// ini_set('auto_detect_line_endings', $autodetect); return $lines; }