diff --git a/resources/views/update.blade.php b/resources/views/update.blade.php index 3d8129f..f77bf9b 100644 --- a/resources/views/update.blade.php +++ b/resources/views/update.blade.php @@ -1,4 +1,3 @@ - @extends('layouts.updater') @Push('updater-body') @@ -27,8 +26,10 @@ @if($_SERVER['QUERY_STRING'] === 'backups') true]); -header("Location: /?backup-created"); +$URL = Route::current()->getName(); +header("Location: ".$URL."?backup-created"); exit(); ?> + @endif @if($_SERVER['QUERY_STRING'] === '')