1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-08 17:56:52 +02:00

- captcha stuff

- unique_id


git-svn-id: file:///svn/phpbb/trunk@5911 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M
2006-05-13 17:48:21 +00:00
parent c652f7a4a7
commit 2499d92c83
6 changed files with 27 additions and 39 deletions

View File

@@ -136,7 +136,8 @@ function gen_rand_string($num_chars = 8)
*/
function unique_id($extra = 'c')
{
global $db, $config, $dss_seeded;
global $config;
static $dss_seeded;
$val = $config['rand_seed'] . microtime();
$val = md5($val);