We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f4fa11 commit 90988f9Copy full SHA for 90988f9
resources/views/backup.blade.php
@@ -35,7 +35,9 @@
35
@endif
36
37
@if($_SERVER['QUERY_STRING'] === 'backups')
38
-<?php Artisan::call('backup:clean');
+<?php
39
+try {Artisan::call('backup:clean');}
40
+catch (exception $e) {}
41
Artisan::call('backup:run', ['--only-files' => true]);
42
$tst = base_path('backups/');
43
file_put_contents($tst.'CANUPDATE', '');
0 commit comments