Skip to content

Commit 90988f9

Browse files
committed
Bugfix?
1 parent 5f4fa11 commit 90988f9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

resources/views/backup.blade.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@
3535
@endif
3636

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

0 commit comments

Comments
 (0)