mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
Update install.php
This commit is contained in:
parent
6f0352b326
commit
803ae75c86
1 changed files with 1 additions and 3 deletions
|
@ -145,9 +145,7 @@ if (!is_file(BB_ROOT . 'vendor/autoload.php')) {
|
|||
// Installing dependencies
|
||||
if (is_file(BB_ROOT . 'composer.phar')) {
|
||||
out('- Installing dependencies...', 'info');
|
||||
runProcess('php ' . BB_ROOT . 'composer.phar update --no-install');
|
||||
sleep(3);
|
||||
runProcess('php ' . BB_ROOT . 'composer.phar install --no-interaction --no-ansi --optimize-autoloader');
|
||||
runProcess('php ' . BB_ROOT . 'composer.phar install --no-interaction --no-ansi --prefer-dist --optimize-autoloader');
|
||||
define('COMPOSER_COMPLETED', true);
|
||||
} else {
|
||||
out('- composer.phar not found. Please, download it (composer.phar) manually', 'error');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue