mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
Update install.php
This commit is contained in:
parent
0c7295f28a
commit
3e92f9bb77
1 changed files with 6 additions and 2 deletions
|
@ -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: ');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue