Skip to content

Commit 634ecb5

Browse files
committed
Update update.blade.php
1 parent 07664d4 commit 634ecb5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

resources/views/update.blade.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626

2727
@if($_SERVER['QUERY_STRING'] === 'backups')
2828
<?php Artisan::call('backup:run', ['--only-files' => true]);
29+
$tst = base_path('backups/');
30+
file_put_contents($tst.'CANUPDATE', '');
2931
$URL = Route::current()->getName();
3032
header("Location: ".$URL."?backup-created");
3133
exit(); ?>

0 commit comments

Comments
 (0)