mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-04-14 10:22:06 +02:00
Bugfix?
This commit is contained in:
parent
90988f9db7
commit
b3f0f7c8d1
@ -117,7 +117,9 @@ echo "<meta http-equiv=\"refresh\" content=\"0; " . url()->current() . "/?finish
|
|||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if($_SERVER['QUERY_STRING'] === 'backups')
|
@if($_SERVER['QUERY_STRING'] === 'backups')
|
||||||
<?php Artisan::call('backup:clean');
|
<?php
|
||||||
|
try {Artisan::call('backup:clean');}
|
||||||
|
catch (exception $e) {}
|
||||||
Artisan::call('backup:run', ['--only-files' => true]);
|
Artisan::call('backup:run', ['--only-files' => true]);
|
||||||
$tst = base_path('backups/');
|
$tst = base_path('backups/');
|
||||||
file_put_contents($tst.'CANUPDATE', '');
|
file_put_contents($tst.'CANUPDATE', '');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user