From 0f8e402380076ae02db43dab6d9a6e65e18f9ff9 Mon Sep 17 00:00:00 2001 From: Prashant Singh Date: Thu, 4 Apr 2019 13:03:53 +0530 Subject: [PATCH] added version in configuration of Bagisto --- .env.example | 1 + config/app.php | 27 ++++++++++++++++----------- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/.env.example b/.env.example index ef6c364c0..16e00691a 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,6 @@ APP_NAME=Laravel APP_ENV=local +APP_VERSION=0.1.5 APP_KEY= APP_DEBUG=true APP_URL=http://localhost diff --git a/config/app.php b/config/app.php index d151dd0cf..6603e3b6d 100755 --- a/config/app.php +++ b/config/app.php @@ -130,22 +130,16 @@ return [ 'cipher' => 'AES-256-CBC', - /* - |-------------------------------------------------------------------------- - | Autoloaded Service Providers - |-------------------------------------------------------------------------- - | - | The service providers listed here will be automatically loaded on the - | request to your application. Feel free to add your own services to - | this array to grant expanded functionality to your applications. - | - */ - /* Code Editor */ 'editor' =>'vscode', + /* + Application Version + */ + 'version' => env('APP_VERSION', '0.1.5'), + /** * Blacklisting attributes while debugging */ @@ -165,6 +159,17 @@ return [ ], ], + /* + |-------------------------------------------------------------------------- + | Autoloaded Service Providers + |-------------------------------------------------------------------------- + | + | The service providers listed here will be automatically loaded on the + | request to your application. Feel free to add your own services to + | this array to grant expanded functionality to your applications. + | + */ + 'providers' => [ /*