projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d194825
)
more entropy for uniqid
author
Chuck Hagenbuch
<chuck@horde.org>
Tue, 23 Dec 2008 16:14:31 +0000
(11:14 -0500)
committer
Chuck Hagenbuch
<chuck@horde.org>
Tue, 23 Dec 2008 16:40:14 +0000
(11:40 -0500)
framework/Mime/lib/Horde/Mime.php
patch
|
blob
|
history
diff --git
a/framework/Mime/lib/Horde/Mime.php
b/framework/Mime/lib/Horde/Mime.php
index
834daa0
..
37b4ee3
100644
(file)
--- a/
framework/Mime/lib/Horde/Mime.php
+++ b/
framework/Mime/lib/Horde/Mime.php
@@
-479,7
+479,7
@@
class Horde_Mime
*/
static public function generateRandomId()
{
- return base_convert(dechex(strtr(microtime(), array('0.' => '', ' ' => ''))) . uniqid(), 16, 36);
+ return base_convert(dechex(strtr(microtime(), array('0.' => '', ' ' => ''))) . uniqid(
mt_rand(), true
), 16, 36);
}
/**