diff --git a/composer.json b/composer.json index 1255b7c..f0988ea 100644 --- a/composer.json +++ b/composer.json @@ -55,6 +55,7 @@ ] }, "config": { - "preferred-install": "dist" + "preferred-install": "dist", + "discard-changes": true } } diff --git a/public/update.php b/public/update.php index bf56d01..afcbd4c 100644 --- a/public/update.php +++ b/public/update.php @@ -237,7 +237,7 @@ php artisan view:clear private function runComposer() { ob_start(); - system('php composer.phar install', $rc); + system('php composer.phar --no-interaction install', $rc); $result = ob_get_clean(); echo nl2br($result); if ($rc != 0)