mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-16 20:11:01 +01:00
Update update.blade.php
This commit is contained in:
parent
07664d4bbc
commit
634ecb5063
@ -26,6 +26,8 @@
|
||||
|
||||
@if($_SERVER['QUERY_STRING'] === 'backups')
|
||||
<?php Artisan::call('backup:run', ['--only-files' => true]);
|
||||
$tst = base_path('backups/');
|
||||
file_put_contents($tst.'CANUPDATE', '');
|
||||
$URL = Route::current()->getName();
|
||||
header("Location: ".$URL."?backup-created");
|
||||
exit(); ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user