1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-01 05:55:02 +03:00

fix generator

This commit is contained in:
Mzhelskiy Maxim 2009-09-06 07:07:53 +00:00
parent 94adc3b438
commit ca870bcd3c

View file

@ -84,7 +84,7 @@ function func_generator($iLength=10) {
if ($iLength>32) {
$iLength=32;
}
return substr(md5(uniqid(rand(),true)),0,$iLength);
return substr(md5(uniqid(mt_rand(),true)),0,$iLength);
}
/**