Update update.blade.php

This commit is contained in:
Julian Prieber 2022-05-25 17:00:21 +02:00
parent fd8a2770da
commit 7360bd37de
1 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,8 @@
@endif
@if($_SERVER['QUERY_STRING'] === 'backups')
<?php Artisan::call('backup:run', ['--only-files' => true]);
<?php Artisan::call('backup:clean');
Artisan::call('backup:run', ['--only-files' => true]);
$tst = base_path('backups/');
file_put_contents($tst.'CANUPDATE', '');
$URL = Route::current()->getName();