From ae0b0123a581900a33549f248c47fd6e1bd587b7 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Fri, 4 Oct 2024 22:44:59 +0700 Subject: [PATCH] Minor improvements --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index 36c1e5107..b6eec09e1 100644 --- a/install.php +++ b/install.php @@ -178,7 +178,7 @@ out("- All extensions are installed!\n", 'success'); if (is_file(BB_ROOT . '.env')) { out('- TorrentPier already installed', 'warning'); echo 'Are you sure want to re-install TorrentPier? [y/N]: '; - if (in_array(mb_strtolower(readline()), ['y', 'ye', 'yes', 'yep', 'yeah'])) { + if (str_starts_with(mb_strtolower(readline()), 'y')) { out("\n- Re-install process started...", 'info'); // environment if (is_file(BB_ROOT . '.env')) {