Fixed #7098 - updated backup config for deleteFile() method

This commit is contained in:
snipe 2019-05-29 14:47:55 -07:00
parent db76090e10
commit 829d44bd27

View file

@ -1012,7 +1012,7 @@ class SettingsController extends Controller
if (!config('app.lock_passwords')) {
$path = storage_path().'/app/'.config('laravel-backup.backup.name');
$path = storage_path().'/app/'.config('backup.backup.name');
$file = $path.'/'.$filename;
if (file_exists($file)) {
unlink($file);