mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Some fixes for CLI installer (#1591)
* Some fixes for CLI installer * Update CHANGELOG.md * Update install.php * Update README.md
This commit is contained in:
parent
885c1a07f0
commit
ba7c8616f6
3 changed files with 5 additions and 4 deletions
|
@ -230,7 +230,7 @@ if (!is_file(BB_ROOT . 'vendor/autoload.php')) {
|
|||
out('- Downloading Composer...', 'info');
|
||||
if (copy('https://getcomposer.org/installer', BB_ROOT . 'composer-setup.php')) {
|
||||
out("- Composer successfully downloaded!\n", 'success');
|
||||
runProcess('php ' . BB_ROOT . 'composer-setup.php');
|
||||
runProcess('php ' . BB_ROOT . 'composer-setup.php --install-dir=' . BB_ROOT);
|
||||
} else {
|
||||
out('- Cannot download Composer', 'error');
|
||||
exit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue