mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
New page /admin/status.php gives a real-time health dashboard: - Services panel: nginx (systemctl), php-fpm (auto-detects versioned unit names), site HTTP ping (curl HEAD with latency), SQLite DB (exists/writable/row count/size), storage directory (writable, banner/cover file counts), maintenance-mode flag. - PHP runtime panel: version, SAPI, memory_limit, upload_max_filesize, post_max_size, max_execution_time. - Disk usage bar for the partition containing APP_ROOT (colour-coded: green/amber/red). - All shell calls go through safeExec() which suppresses stderr and checks exit code; systemctl/curl unavailability degrades gracefully to 'unknown' without fatal errors. - 'Statut' nav link added to templates/admin/head.php (active state on status.php).