3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-03-30 04:14:17 +00:00

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);