Update web.php
This commit is contained in:
parent
909c11263f
commit
7cf52a4a6a
|
@ -102,10 +102,10 @@ Route::get('/updating', function (\Codedge\Updater\UpdaterManager $updater) {
|
||||||
|
|
||||||
unlink(base_path("backups/CANUPDATE"));
|
unlink(base_path("backups/CANUPDATE"));
|
||||||
|
|
||||||
echo "<meta http-equiv=\"refresh\" content=\"0; " . url()->current() . "/../update?finishing />";
|
echo "<meta http-equiv=\"refresh\" content=\"0; " . url()->current() . "/../update?finishing\" />";
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
echo "No new version available.";
|
echo "<meta http-equiv=\"refresh\" content=\"0; " . url()->current() . "/../update?error\" />";
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue