Backwards compatability for PHP 5. However please upgrade to PHP 7

This commit is contained in:
FusionPBX
2020-03-25 12:23:42 -06:00
committed by GitHub
parent 3343b2a664
commit 756ec5d360

View File

@@ -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 ();
}
}
?>