From b5e1c7d1003e9c516ce1eb1394e4ba84eba369f0 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Thu, 2 Apr 2020 00:14:51 -0500 Subject: [PATCH] moon data --- app/Console/Commands/Files/MoonFormatter.php | 3 +-- config/filesystems.php | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/Files/MoonFormatter.php b/app/Console/Commands/Files/MoonFormatter.php index 3083a0278..ac9115cc1 100644 --- a/app/Console/Commands/Files/MoonFormatter.php +++ b/app/Console/Commands/Files/MoonFormatter.php @@ -39,8 +39,7 @@ class MoonFormatter extends Command public function handle() { //Create the file handler - $lines = Storage::get('moon_data.txt'); - //$lines = Storage::disk('local')->get('moon_data.txt'); + $lines = Storage::disk('storage')->get('moon_data.txt'); //$lines = file('moon_data.txt'); //Create the output file handler //$output = file('/moon_output.txt'); diff --git a/config/filesystems.php b/config/filesystems.php index 77fa5ded1..8d800aa08 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -55,6 +55,11 @@ return [ 'visibility' => 'public', ], + 'storage' => [ + 'driver' => 'local', + 'root' => storage_path('storage/app/public'), + ], + 's3' => [ 'driver' => 's3', 'key' => env('AWS_ACCESS_KEY_ID'),