Update get_update_status.php

This commit is contained in:
jakani24
2024-04-01 12:11:39 +02:00
parent 00b3977904
commit ba0418a268

View File

@@ -9,7 +9,7 @@
$totalFiles = count($files) - (16 * 16);
// Calculate the percentage
$percentage = ($totalFiles / 485+5) * 100;
$percentage = ($totalFiles / (485+5)) * 100;
// Ensure the percentage is within the range 0-100
$percentage = max(0, min(100, $percentage));