Update update.blade.php

This commit is contained in:
Julian Prieber 2022-05-24 17:26:12 +02:00
parent 07664d4bbc
commit 634ecb5063

View File

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