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