更新至v1.87,更新内容在笔记中查看

This commit is contained in:
小胡
2024-01-10 18:57:07 +08:00
Unverified
parent d88cbb239e
commit ac6ddfbc20
123 changed files with 6426 additions and 423 deletions

View File

@@ -513,7 +513,7 @@ function random($length) {
$max = strlen($chars) - 1;
PHP_VERSION < '4.2.0' && mt_srand((double)microtime() * 1000000);
for($i = 0; $i < $length; $i++) {
$hash .= $chars[mt_rand(0, $max)];
$hash .= $chars[random_int(0, $max)];
}
return $hash;
}