Skip to content

Commit

Permalink
Bugfix?
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianPrieber committed Mar 9, 2023
1 parent 90988f9 commit b3f0f7c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resources/views/update.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@
@endif

@if($_SERVER['QUERY_STRING'] === 'backups')
<?php Artisan::call('backup:clean');
<?php
try {Artisan::call('backup:clean');}
catch (exception $e) {}
Artisan::call('backup:run', ['--only-files' => true]);
$tst = base_path('backups/');
file_put_contents($tst.'CANUPDATE', '');
Expand Down

0 comments on commit b3f0f7c

Please sign in to comment.