From 56c245038d1440632a032d369b28d08b13377fff Mon Sep 17 00:00:00 2001 From: nguyenanhung Date: Sun, 8 Sep 2024 00:12:49 +0700 Subject: [PATCH] =?UTF-8?q?Fix=20c=C3=A1i=20bug=20t=C3=B4i=20=C4=91=C3=A3?= =?UTF-8?q?=20t=E1=BA=A1o=20ra=20h=E1=BB=93i=20chi=E1=BB=81u?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helpers/file_helper.php | 8 ++++---- src/BaseHelper.php | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/helpers/file_helper.php b/helpers/file_helper.php index c823a6a..fce0bac 100644 --- a/helpers/file_helper.php +++ b/helpers/file_helper.php @@ -277,19 +277,19 @@ function makeNewFolder($folderPath = '', $gitkeep = false) $createReadme = generateFileReadme($folderPath); if (is_cli()) { if ($createIndex) { - echo "Create file index.html in " . $folderPath . " successfully"; + echo "Create file index.html in " . $folderPath . " successfully" . PHP_EOL; } if ($createHtaccess) { - echo "Create file .htaccess in " . $folderPath . " successfully"; + echo "Create file .htaccess in " . $folderPath . " successfully" . PHP_EOL; } if ($createReadme) { - echo "Create file README.md in " . $folderPath . " successfully"; + echo "Create file README.md in " . $folderPath . " successfully" . PHP_EOL; } } if ($gitkeep === true) { $createGitkeep = touch($folderPath . '/.gitkeep'); if (is_cli() && $createGitkeep) { - echo "Create file .gitkeep in " . $folderPath . " successfully"; + echo "Create file .gitkeep in " . $folderPath . " successfully" . PHP_EOL; } } return true; diff --git a/src/BaseHelper.php b/src/BaseHelper.php index 9497c69..173335b 100644 --- a/src/BaseHelper.php +++ b/src/BaseHelper.php @@ -19,8 +19,8 @@ */ class BaseHelper { - const VERSION = '1.6.4'; - const LAST_MODIFIED = '2024-09-07'; + const VERSION = '1.6.5'; + const LAST_MODIFIED = '2024-09-08'; const PROJECT_NAME = 'CodeIgniter - Basic Helper'; const AUTHOR_NAME = 'Hung Nguyen'; const AUTHOR_FULL_NAME = 'Hung Nguyen';