mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
The formatBytes function was used in the view but never defined, causing a runtime error. This function was needed to display S3 file sizes in human-readable format (e.g., "1.5 MB" instead of "1572864"). Added formatBytes() helper to bootstrap/helpers/shared.php: - Converts bytes to human-readable format (B, KB, MB, GB, TB, PB) - Uses base 1024 for proper binary conversion - Configurable precision (defaults to 2 decimal places) - Handles zero bytes case 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api.php | ||
| applications.php | ||
| constants.php | ||
| databases.php | ||
| docker.php | ||
| domains.php | ||
| github.php | ||
| notifications.php | ||
| parsers.php | ||
| proxy.php | ||
| remoteProcess.php | ||
| services.php | ||
| shared.php | ||
| socialite.php | ||
| subscriptions.php | ||
| sudo.php | ||
| timezone.php | ||