mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-05 16:04:24 +03:00
fix generator
This commit is contained in:
parent
94adc3b438
commit
ca870bcd3c
|
@ -84,7 +84,7 @@ function func_generator($iLength=10) {
|
||||||
if ($iLength>32) {
|
if ($iLength>32) {
|
||||||
$iLength=32;
|
$iLength=32;
|
||||||
}
|
}
|
||||||
return substr(md5(uniqid(rand(),true)),0,$iLength);
|
return substr(md5(uniqid(mt_rand(),true)),0,$iLength);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue