Update update.blade.php

This commit is contained in:
Julian Prieber 2022-05-24 16:13:00 +02:00
parent 4747c42ea2
commit 07664d4bbc
1 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,3 @@
@extends('layouts.updater')
@Push('updater-body')
@ -27,8 +26,10 @@
@if($_SERVER['QUERY_STRING'] === 'backups')
<?php Artisan::call('backup:run', ['--only-files' => true]);
header("Location: /?backup-created");
$URL = Route::current()->getName();
header("Location: ".$URL."?backup-created");
exit(); ?>
@endif
@if($_SERVER['QUERY_STRING'] === '')