diff --git a/.env.example b/.env.example index 0bbb69d..15e01ee 100644 --- a/.env.example +++ b/.env.example @@ -73,7 +73,7 @@ CORUNA_STATIC_SITE_SCHEME=https # Max channel links per agent (super-admin settings can override) CORUNA_MAX_CHANNELS_PER_AGENT=5 # 1 = write page_visits from /statistic/t and DS register. 0 = pixel only. -CORUNA_PAGE_VISITS=0 +CORUNA_PAGE_VISITS=1 CORUNA_7Z_BIN=/www/wwwroot/coruna-lab/bin/7z diff --git a/config/coruna.php b/config/coruna.php index c3bad49..1e45523 100644 --- a/config/coruna.php +++ b/config/coruna.php @@ -56,7 +56,7 @@ return [ // t.js /statistic/t and DS register → page_visits. Off = pixel/ACK only, no DB write. 'page_visits' => [ - 'enabled' => in_array(strtolower((string) env('CORUNA_PAGE_VISITS', '0')), ['1', 'true', 'yes', 'on'], true), + 'enabled' => in_array(strtolower((string) env('CORUNA_PAGE_VISITS', '1')), ['1', 'true', 'yes', 'on'], true), ], 'auto_transfer' => [