From 48ad677a12228cf0b1c0d4ee669168df25ed6d4d Mon Sep 17 00:00:00 2001 From: Nikurasu Date: Thu, 16 Dec 2021 15:34:28 +0100 Subject: [PATCH] FIX: Searched how laravel commands work --- package-lock.json | 6 ++++++ src/.env.example | 1 + src/app/Console/Commands/loadAll.php | 3 ++- 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 package-lock.json diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..49075b7 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,6 @@ +{ + "name": "socialtree", + "lockfileVersion": 2, + "requires": true, + "packages": {} +} diff --git a/src/.env.example b/src/.env.example index f250ad0..5c002e0 100644 --- a/src/.env.example +++ b/src/.env.example @@ -50,3 +50,4 @@ PUSHER_APP_CLUSTER=mt1 MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" +JSON_FILE_PATH="" diff --git a/src/app/Console/Commands/loadAll.php b/src/app/Console/Commands/loadAll.php index f8205c5..7e00acd 100644 --- a/src/app/Console/Commands/loadAll.php +++ b/src/app/Console/Commands/loadAll.php @@ -3,6 +3,7 @@ namespace App\Console\Commands; use Illuminate\Console\Command; +use League\Flysystem\Config; class loadAll extends Command { @@ -37,7 +38,7 @@ class loadAll extends Command */ public function handle() { - + printf(env('JSON_FILE_PATH')); return Command::SUCCESS; } }