diff options
author | David M <davidmj@users.sourceforge.net> | 2006-05-13 17:48:21 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2006-05-13 17:48:21 +0000 |
commit | 2499d92c83e5bad7860e7b581525a947b6bde27d (patch) | |
tree | f943fadcf17ba055f9e489d7394c99d85bd4061c /phpBB/includes/functions.php | |
parent | c652f7a4a7531abd38c6d54eef12b8759077af65 (diff) | |
download | forums-2499d92c83e5bad7860e7b581525a947b6bde27d.tar forums-2499d92c83e5bad7860e7b581525a947b6bde27d.tar.gz forums-2499d92c83e5bad7860e7b581525a947b6bde27d.tar.bz2 forums-2499d92c83e5bad7860e7b581525a947b6bde27d.tar.xz forums-2499d92c83e5bad7860e7b581525a947b6bde27d.zip |
- captcha stuff
- unique_id
git-svn-id: file:///svn/phpbb/trunk@5911 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 9e0b7a1b1d..bc33f96562 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -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); |