diff --git a/public/update.php b/public/update.php index bf7567b..cc6346c 100644 --- a/public/update.php +++ b/public/update.php @@ -100,7 +100,25 @@ php artisan clear-compiled echo nl2br($result); if ($rc != 0) { - $this->echoError('Updating Composer packages failed'); + $this->echoError('clear-compiled command failed'); + return false; + } + + system('php artisan cache:clear', $rc); + $result = ob_get_clean(); + echo nl2br($result); + if ($rc != 0) + { + $this->echoError('cache:clear command failed'); + return false; + } + + system('php artisan view:clear', $rc); + $result = ob_get_clean(); + echo nl2br($result); + if ($rc != 0) + { + $this->echoError('view:clear command failed'); return false; }