From 3e92f9bb770aeda7b80194b697532e0d96daa1fd Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Wed, 7 Aug 2024 01:31:57 +0700 Subject: [PATCH] Update install.php --- install.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/install.php b/install.php index 99e8982c1..ab65910f2 100644 --- a/install.php +++ b/install.php @@ -78,6 +78,9 @@ function runProcess(string $cmd, string $input = null): void proc_close($process); } +// Welcoming message +out("- TorrentPier Installer\n"); + // Check composer installation if (!is_file(ROOT . 'vendor/autoload.php')) { out('- Hmm, it seems there are no Composer dependencies'); @@ -105,8 +108,9 @@ if (!is_file(ROOT . 'vendor/autoload.php')) { // Preparing ENV if (is_file(ROOT . '.env.example') && !is_file(ROOT . '.env')) { copy(ROOT . '.env.example', ROOT . '.env'); - out('- Environment file created!', 'success'); + out("- Environment file created!\n", 'success'); } // Editing ENV file - +out('--- Configuring TorrentPier ---'); +$text = readline('Question: ');