diff --git a/resources/views/update.blade.php b/resources/views/update.blade.php index 90b2951..2ab7002 100644 --- a/resources/views/update.blade.php +++ b/resources/views/update.blade.php @@ -4,7 +4,7 @@
@if(env('SKIP_UPDATE_BACKUP') == true) -    +    @else    @endif @@ -61,7 +61,7 @@

Updating

@Push('updater-head') - + @endpush @endif @@ -121,10 +121,35 @@ Artisan::call('backup:run', ['--only-files' => true]); $tst = base_path('backups/'); file_put_contents($tst.'CANUPDATE', ''); $URL = Route::current()->getName(); -header("Location: ".$URL."?updating"); +header("Location: ".$URL."?preparing"); exit(); ?> @endif +@if($_SERVER['QUERY_STRING'] === 'preparing') + +
+ Logo +
l
+
+

Preparing update

+ + + + @include('components.pre-update') + + @if(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') + + @else + current() . "?updating\" />" ?> + @endif +@endif + @if($_SERVER['QUERY_STRING'] === 'updating' and (file_exists(base_path("backups/CANUPDATE")) or env('SKIP_UPDATE_BACKUP') == true))
@@ -211,6 +236,6 @@ exit(); ?> @endif @if("8" > phpversion())

You are using an outdated version of PHP! Official support for this version will end soon. @endif -
+
@endpush \ No newline at end of file