The update was successful, you can now return to the Admin Panel:
-
+
@endif
@@ -124,13 +131,13 @@ exit(); ?>
-
+
l
Error
Something went wrong with the update :(
-
+
@endif
diff --git a/routes/web.php b/routes/web.php
index bf4d661..ec5d73a 100755
--- a/routes/web.php
+++ b/routes/web.php
@@ -86,7 +86,7 @@ Route::get('/update', function () {return view('update', []);});
Route::get('/updating', function (\Codedge\Updater\UpdaterManager $updater) {
// Check if new version is available
- if($updater->source()->isNewVersionAvailable() and (file_exists(base_path("backups/CANUPDATE")))) {
+ if($updater->source()->isNewVersionAvailable() and (file_exists(base_path("backups/CANUPDATE")) or env('SKIP_UPDATE_BACKUP') == true)) {
// Get the current installed version
echo $updater->source()->getVersionInstalled();
@@ -100,7 +100,7 @@ Route::get('/updating', function (\Codedge\Updater\UpdaterManager $updater) {
// Run the update process
$updater->source()->update($release);
- unlink(base_path("backups/CANUPDATE"));
+ if(env('SKIP_UPDATE_BACKUP') != true) {unlink(base_path("backups/CANUPDATE"));}
echo "current() . "/../update?finishing\" />";