mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Backwards compatability for PHP 5. However please upgrade to PHP 7
This commit is contained in:
@@ -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 ();
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user