Skip to content

Commit 95057f6

Browse files
committed
Update web.php
1 parent f60ff94 commit 95057f6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

routes/web.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,7 @@
102102

103103
unlink(base_path("backups/CANUPDATE"));
104104

105-
$URL = Route::current()->getName();
106-
header("Location: ".$URL."/../update?finishing");
107-
exit();
105+
echo "<meta http-equiv=\"refresh\" content=\"0; " . url()->current() . "/../update?finishing />";
108106

109107
} else {
110108
echo "No new version available.";

0 commit comments

Comments
 (0)