When shell_exec() is disabled on the server (common in production), the system operations panel now gracefully falls back to PHP built-in functions: - gethostname() for hostname instead of shell 'hostname' command - php_uname() for OS info instead of shell 'uname -a' command - /proc/uptime parsing or unavailable status for uptime - disk_free_space() and disk_total_space() for disk usage - memory_get_usage() and PHP memory limit for memory usage - Improved parsePhpMemoryLimit() to handle memory limit parsing This ensures the admin panel shows meaningful information even in restricted production environments where shell_exec is disabled for security reasons. |
||
|---|---|---|
| .. | ||
| Authentication/Authenticators | ||
| Commands | ||
| Config | ||
| Controllers | ||
| Database | ||
| Filters | ||
| Helpers | ||
| Language | ||
| Libraries | ||
| Models | ||
| ThirdParty | ||
| Validation | ||
| Views | ||
| .htaccess | ||
| Common.php | ||
| index.html | ||