From a8c55602f35ad4871f092911a26a4a4fd9db1146 Mon Sep 17 00:00:00 2001 From: Semenov Date: Mon, 12 Apr 2021 09:46:09 +0300 Subject: [PATCH] dev --- src/controllers/AdminComposerUpdateController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/AdminComposerUpdateController.php b/src/controllers/AdminComposerUpdateController.php index 30a7e4c..03e7b11 100644 --- a/src/controllers/AdminComposerUpdateController.php +++ b/src/controllers/AdminComposerUpdateController.php @@ -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();