find the php binary in console

This commit is contained in:
denisdulici
2020-03-19 17:18:19 +03:00
parent 9748b48e59
commit 437cbd323d
5 changed files with 23 additions and 5 deletions

View File

@ -135,7 +135,7 @@ class Updater
}
foreach ($companies as $company) {
$command = "php artisan update:finish {$alias} {$company} {$new} {$old}";
$command = "update:finish {$alias} {$company} {$new} {$old}";
if (true !== $result = Console::run($command)) {
$message = !empty($result) ? $result : trans('modules.errors.finish', ['module' => $alias]);