diff --git a/resources/functions.php b/resources/functions.php index 50d8cb2042..185133da0e 100644 --- a/resources/functions.php +++ b/resources/functions.php @@ -2109,4 +2109,11 @@ function number_pad($number,$n) { } } +//convert bytes to readable human format + if (!function_exists('random_int')) { + function random_int() { + return rand (); + } + } + ?>