Backwards compatability for PHP 5. However please upgrade to PHP 7
This commit is contained in:
parent
3343b2a664
commit
756ec5d360
|
|
@ -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 ();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue