From aabf0ae6c16bf021e539ab6f9c3253996ec5764b Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Thu, 2 Apr 2020 00:21:35 -0500 Subject: [PATCH] moon file --- app/Console/Commands/Files/MoonFormatter.php | 2 +- config/filesystems.php | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/app/Console/Commands/Files/MoonFormatter.php b/app/Console/Commands/Files/MoonFormatter.php index ac9115cc1..184a980fb 100644 --- a/app/Console/Commands/Files/MoonFormatter.php +++ b/app/Console/Commands/Files/MoonFormatter.php @@ -39,7 +39,7 @@ class MoonFormatter extends Command public function handle() { //Create the file handler - $lines = Storage::disk('storage')->get('moon_data.txt'); + $lines = Storage::get('storage/app/public/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 1c70c0219..77fa5ded1 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -55,12 +55,6 @@ return [ 'visibility' => 'public', ], - 'storage' => [ - 'driver' => 'local', - 'root' => storage_path('storage/app/public'), - 'url' => env('APP_URL').'/storage/app/public', - ], - 's3' => [ 'driver' => 's3', 'key' => env('AWS_ACCESS_KEY_ID'),