@if($_SERVER['QUERY_STRING'] === '')
l
{{__('messages.Backup')}}
{{__('messages.You can back up your entire instance:')}}
{{__('messages.The backup system won’t save more than two backups at a time')}}
@endif
@if($_SERVER['QUERY_STRING'] === 'backup')
@Push('updater-head')
@endpush
{{__('messages.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."?success");
exit(); ?>
@endif
@if($_SERVER['QUERY_STRING'] === 'success')
{{__('messages.Success!')}}
{{__('messages.The backup was successful')}}
@endif
@endpush