Source: src/Controllers/StatsController.php
Overview
No class-level docblock. Add one at the top of the file.
Extends: App\Controllers\BaseController
Public methods
index(): void
GET /stats — Public community statistics page.
Global counts, leaderboards, and activity feeds are loaded from a shared filesystem snapshot that is regenerated at most every 15 minutes. Per-user bits (nextAchievement) are computed fresh on every request since they depend on the viewer's identity.
online(): void
GET /online — Who's online page.
weeklyLeaderboard(): void
GET /leaderboard/week — top credit earners over the last 7 days. Cached for 10 minutes via a filesystem snapshot.
Auto-generated from source by bin/sync-class-docs.php on 2026-04-21 16:28 CDT. Re-runs overwrite this thread body.
. __ ____ ___ ____ _ _
/ /_| ___| / _ \___ \(_)___| |__
| '_ \___ \| | | |__) | / __| '_ \
| (_) |__) | |_| / __/| \__ \ | | |
\___/____/ \___/_____|_|___/_| |_|
D2sk - Sysop