From: Vincent Vanwaelscappel Date: Wed, 19 Jun 2019 12:11:41 +0000 (+0200) Subject: #2843 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=03e266448fb880728931a04d22808727dfd85f35;p=cubist_cms-back.git #2843 --- diff --git a/src/app/Console/Commands/CubistCommand.php b/src/app/Console/Commands/CubistCommand.php index a928848..0384e53 100644 --- a/src/app/Console/Commands/CubistCommand.php +++ b/src/app/Console/Commands/CubistCommand.php @@ -8,6 +8,7 @@ use Cubist\Backpack\app\Magic\Models\CubistMagicAbstractModel; use Cubist\Util\Files\Files; use Cubist\Util\PHP; use Illuminate\Console\Command; +use Illuminate\Support\Facades\App; use Symfony\Component\Process\Exception\ProcessFailedException; use Symfony\Component\Process\Process; @@ -64,6 +65,8 @@ class CubistCommand extends Command { $magic = app_path() . '/Models'; + $this->line('Environment ' . App::environment()); + $iterator = Files::getDirectoryIterator($magic, true); foreach ($iterator as $item) { $this->line('Testing ' . $item);