diff --git a/.env.example b/.env.example index 755c5511..a025f65d 100644 --- a/.env.example +++ b/.env.example @@ -62,3 +62,6 @@ PUSHER_APP_CLUSTER=mt1 MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" + +# Settings Cache +SETTINGS_CACHE_ENABLED=true \ No newline at end of file diff --git a/config/settings.php b/config/settings.php index 88aba4fa..26cd8790 100644 --- a/config/settings.php +++ b/config/settings.php @@ -10,6 +10,7 @@ use App\Settings\ReferralSettings; use App\Settings\ServerSettings; use App\Settings\UserSettings; use App\Settings\WebsiteSettings; +use App\Settings\TicketSettings; return [ @@ -27,7 +28,8 @@ return [ ReferralSettings::class, ServerSettings::class, UserSettings::class, - WebsiteSettings::class + WebsiteSettings::class, + TicketSettings::class ], /* @@ -75,7 +77,7 @@ return [ 'cache' => [ 'enabled' => env('SETTINGS_CACHE_ENABLED', false), 'store' => null, - 'prefix' => null, + 'prefix' => 'setting_', 'ttl' => null, ],