]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
rand() is weak on some OSes as it only produces random numbers from -32766 to
authorRoland Haeder <roland@mxchange.org>
Fri, 6 Mar 2015 23:36:49 +0000 (00:36 +0100)
committerRoland Haeder <roland@mxchange.org>
Fri, 6 Mar 2015 23:36:49 +0000 (00:36 +0100)
commite1655e6c733300b20b86a6515211cd3fc7765b92
treedf9b8e878b6f5af71bba6efda6ef011e1789a53c
parent93cea712eff597199fd596e9752d2e532e0e6f24
rand() is weak on some OSes as it only produces random numbers from -32766 to
32766. So let's get rid of it all together and use mt_rand() (which produces
*way* larger numbers on *all* systems).

Signed-off-by: Roland Haeder <roland@mxchange.org>
lib/noticeform.php
plugins/LdapCommon/LdapCommon.php
scripts/createsim.php