diff --git a/app/Http/Controllers/SettingsController.php b/app/Http/Controllers/SettingsController.php index 5f9e5200d..f4ed90672 100755 --- a/app/Http/Controllers/SettingsController.php +++ b/app/Http/Controllers/SettingsController.php @@ -416,7 +416,7 @@ class SettingsController extends Controller public function getBackups() { - $path = storage_path().'/app/'.config('laravel-backup.destination.path'); + $path = storage_path().'/app/'.config('laravel-backup.backup.name'); $files = array(); @@ -475,7 +475,7 @@ class SettingsController extends Controller public function downloadFile($filename = null) { if (!config('app.lock_passwords')) { - $path = storage_path().'/app/'.config('laravel-backup.destination.path'); + $path = storage_path().'/app/'.config('laravel-backup.backup.name'); $file = $path.'/'.$filename; if (file_exists($file)) { return Response::download($file); @@ -504,7 +504,7 @@ class SettingsController extends Controller if (!config('app.lock_passwords')) { - $path = storage_path().'/app/'.config('laravel-backup.destination.path'); + $path = storage_path().'/app/'.config('laravel-backup.backup.name'); $file = $path.'/'.$filename; if (file_exists($file)) { unlink($file);