JSON: Admin Stats: Empty stats for a language other than English

Version 1.60.0


Changed the json indexes to be hard-coded, rather than using the "df" header title's as the indexes. CMD_ADMIN_STATS?json=yes&bytes=yes for "disk", eg: "1": { "Filesystem": "tmpfs", "1-blocks": "4015548", "Used": "0", "Available": "4015548", "Capacity": "0%", "Mounted on": "/dev/shm" }, NOTE, the above is for bytes=yes. Without that, the 1-blocks become: 1024-blocks=3921 ---- Compile time: Jan 15 2020 at ~22:49:32

Interested to try DirectAdmin? Get a 30-day Free Trial!