# Rename this file to .env.habbolibre and place it next to habbolibre-presence-reporter.php HL_HOTEL_SLUG="mi-hotel" HL_API_KEY="TU_PINGBACK_SECRET" HL_DB_DSN="mysql:host=127.0.0.1;dbname=hotel;charset=utf8mb4" HL_DB_USER="usuario" HL_DB_PASS="password" HL_ONLINE_COUNT_SQL="SELECT COUNT(*) FROM users WHERE online = 1" # Opcional HL_API_BASE="https://api.habbolibre.org/api/v1" HL_TIMEOUT_SECONDS="8" HL_CONNECT_TIMEOUT_SECONDS="4" HL_LOCK_PATH="" HL_DRY_RUN="0" HL_REPORT_OFFLINE_ON_DB_ERROR="0" # Recomendado para diagnóstico: log local con cada ejecución del cron. # Cada línea: timestamp ISO | status | users_online | http_status. # Útil para verificar que el cron está corriendo cuando "Salud del reporter" # en HabboLibre marca "Sin reportes". Tail con: tail -f /ruta/al/log HL_LOG_FILE=""