From: Vincent Vanwaelscappel Date: Tue, 7 Jan 2020 19:07:14 +0000 (+0100) Subject: wip #3274 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=07abf1616fd566cd31549de0d500caf29b99c5d5;p=pmi.git wip #3274 @0.5 --- diff --git a/bootstrap/app.php b/bootstrap/app.php index 037e17d..8d4e15e 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -11,7 +11,7 @@ | */ -$app = new Illuminate\Foundation\Application( +$app = new Cubist\Backpack\Application( $_ENV['APP_BASE_PATH'] ?? dirname(__DIR__) ); diff --git a/config/app.php b/config/app.php index fc0bb7a..03aae89 100644 --- a/config/app.php +++ b/config/app.php @@ -28,6 +28,13 @@ return [ 'env' => env('APP_ENV', 'production'), + + /* + * Variants + */ + + 'variants' => env('APP_VARIANTS', '') === '' ? [] : explode(',', env('APP_VARIANTS')), + /* |-------------------------------------------------------------------------- | Application Debug Mode