From cfdfa72226f9682f7cf65bc3a75f5795683797a7 Mon Sep 17 00:00:00 2001 From: Crypta Eve Date: Mon, 20 May 2024 21:02:57 +0930 Subject: [PATCH] feat: app locale and cache config in env --- .env.example | 6 ++++++ .gitignore | 2 ++ config/app.php | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 5afc5a1..54de94c 100644 --- a/.env.example +++ b/.env.example @@ -3,6 +3,7 @@ APP_ENV=local APP_KEY= APP_DEBUG=false APP_URL=http://localhost +APP_LOCALE=en LOG_CHANNEL=stack LOG_DEPRECATIONS_CHANNEL=null @@ -59,3 +60,8 @@ MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" EVE_CLIENT_ID=null EVE_CLIENT_SECRET=null EVE_CALLBACK_URL=https://seat.local/auth/eve/callback + +ESEYE_CACHE_DRIVER=file +ESEYE_CACHE_STORAGE_PATH=eseye +ESEYE_CACHE_CONNECTION=cache +ESEYE_CACHE_LOCK_CONNECTION=default \ No newline at end of file diff --git a/.gitignore b/.gitignore index a1812f9..d311291 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,8 @@ /packages /public/hot /public/storage +/public/vendor/horizon +/public/vendor/log-viewer /storage/*.key /storage/database.sqlite /vendor diff --git a/config/app.php b/config/app.php index d2bf0ab..1aed5e4 100644 --- a/config/app.php +++ b/config/app.php @@ -95,7 +95,7 @@ | */ - 'fallback_locale' => 'en', + 'fallback_locale' => env('APP_LOCALE', 'en'), /* |--------------------------------------------------------------------------