From 6e8aaddb40eb3909c64196ba038d883acc59d98c Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 9 Mar 2021 17:40:22 -0800 Subject: [PATCH] One more changes for settings seeder (this may not work) --- database/seeds/SettingsSeeder.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/database/seeds/SettingsSeeder.php b/database/seeds/SettingsSeeder.php index ec6f358ece..b7fa2835f1 100644 --- a/database/seeds/SettingsSeeder.php +++ b/database/seeds/SettingsSeeder.php @@ -42,9 +42,8 @@ class SettingsSeeder extends Seeder // Copy the logos from the img/demo directory - Storage::disk('public')->put(public_path('img/demo/snipe-logo.png'), public_path('uploads/snipe-logo.png')); - Storage::disk('public')->put(public_path('img/demo/snipe-logo-lg.png'), public_path('uploads/snipe-logo.png')); - + Storage::disk('public')->put(public_path('img/demo/snipe-logo.png'), file_get_contents(public_path('uploads/snipe-logo.png'))); + Storage::disk('public')->put(public_path('img/demo/snipe-logo-lg.png'), file_get_contents(public_path('uploads/snipe-logo.png'))); } }