@extends('layouts.updater')
@Push('updater-body')
@if($_SERVER['QUERY_STRING'] === 'updating' and (file_exists(base_path("backups/CANUPDATE"))))
l
Updating
@Push('updater-head')
@endpush
@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'] === 'success' and (file_exists(base_path("backups/CANUPDATE"))))
l
Success!
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