From 0abc5ec43e2c25ee7b22e36b959c28a52dd00bed Mon Sep 17 00:00:00 2001 From: rabol Date: Sat, 28 Dec 2019 11:22:41 +0100 Subject: [PATCH] Make it possible to specify currency in .env --- .env.example | 1 + config/app.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index f8f0aa0bb..4ece248c8 100644 --- a/.env.example +++ b/.env.example @@ -6,6 +6,7 @@ APP_DEBUG=true APP_URL=http://localhost APP_TIMEZONE='Asia/Kolkata' LOG_CHANNEL=stack +APP_CURRENCY=USD DB_CONNECTION=mysql DB_HOST=127.0.0.1 diff --git a/config/app.php b/config/app.php index c8dcb8247..653f9ab46 100755 --- a/config/app.php +++ b/config/app.php @@ -102,7 +102,7 @@ return [ | */ - 'currency' => 'USD', + 'currency' => env('APP_CURRENCY','USD'), /* |--------------------------------------------------------------------------