summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorSam Light <sam@lightscale.co.uk>2025-04-09 21:34:16 +0100
committerSam Light <samlight1994@gmail.com>2025-04-09 21:34:16 +0100
commit73083c611f1ddcc41ec712d5f4448df1270bc176 (patch)
treee1762d8c9862b4c97f52923c735ed509ebf3d4c6 /config
parent95d4b113c42764a2df09852d31c3bc33e2047d0d (diff)
Created migration, Model, Middleware, config
Diffstat (limited to 'config')
-rw-r--r--config/access_log.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/access_log.php b/config/access_log.php
new file mode 100644
index 0000000..1a8663c
--- /dev/null
+++ b/config/access_log.php
@@ -0,0 +1,11 @@
+<?php
+
+return [
+ 'enabled' => env('ACCESS_LOG_ENABLED', true),
+ 'table_name' => 'access_log',
+ 'log_ip' => false,
+ 'log_user_agent' => false,
+
+ 'model' => \Lightscale\LaralightAccessLog\Models\AccessLog::class,
+ 'user_model' => \Illuminate\Foundation\Auth\User::class,
+];