Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Apr 12, 2021
1 parent f615484 commit a8c5560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/AdminComposerUpdateController.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function actionUpdate()

if ($rr->isRequestAjaxPost) {

$cmd = "COMPOSER_HOME=.composer php composer.phar self-update 1.10.17 && COMPOSER_HOME=.composer php composer.phar update -o --no-interaction >{$fileUpdateSuccessResult} 2>&1 3>{$fileUpdateErrorResult} &";
$cmd = "COMPOSER_HOME=.composer php composer.phar self-update --2 && COMPOSER_HOME=.composer php composer.phar update -o --no-interaction >{$fileUpdateSuccessResult} 2>&1 3>{$fileUpdateErrorResult} &";

$process = new \Symfony\Component\Process\Process($cmd, \Yii::getAlias('@root'));
$process->run();
Expand Down

0 comments on commit a8c5560

Please sign in to comment.