This commit is contained in:
Julian Prieber 2023-03-09 22:24:11 +01:00
parent 90988f9db7
commit b3f0f7c8d1

View File

@ -117,7 +117,9 @@ echo "<meta http-equiv=\"refresh\" content=\"0; " . url()->current() . "/?finish
@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', '');