@if($_SERVER['QUERY_STRING'] === '')
l
Backup
You can back up your entire instance:
The backup system won't save more than two backups at a time.
@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."?success");
exit(); ?>
@endif
@if($_SERVER['QUERY_STRING'] === 'success')
l
Success!
The backup was successful, you can now return to the Admin Panel or see all your backups.
@endif
@endpush