@extends('layouts.updater')
@Push('updater-body')
@if($_SERVER['QUERY_STRING'] === 'updating')
l
Updating
@endif
@if($_SERVER['QUERY_STRING'] === 'backup')
@Push('updater-head')
@endpush
l
Creating backup
@endif
@if($_SERVER['QUERY_STRING'] === 'backups')
true]);
$tst = base_path('backups/');
file_put_contents($tst.'CANUPDATE', '');
$URL = Route::current()->getName();
header("Location: ".$URL."?backup-created");
exit(); ?>
@endif
@if($_SERVER['QUERY_STRING'] === '')
l
Updater
You can update your installation automatically or download the update and install it manually:
@endif
@if($_SERVER['QUERY_STRING'] === 'backup-created')
l
Download backup
You can keep the update stored on the server or download it as a precaution:
@endif
@if($_SERVER['QUERY_STRING'] === 'success')
l
Download backup
The update was successful, you can now return to the Admin Panel:
@endif
@if($_SERVER['QUERY_STRING'] === 'error')
l
Something went wrong
Something went wrong during the update process, you can try again or update manually:
@endif
@endpush