mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-23 19:59:18 -08:00
Fixed #7098 - updated backup config for deleteFile() method
This commit is contained in:
parent
db76090e10
commit
829d44bd27
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue