aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-11-12 19:45:36 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-11-12 19:45:36 +0000
commit714fdee6d01be758659aeb18439aa44b54ac48d3 (patch)
treea255efa70ed6f202542649148c0445445504d181
parentd420932921bb9fecc9ea5aa66326a08364834a3c (diff)
downloadforums-714fdee6d01be758659aeb18439aa44b54ac48d3.tar
forums-714fdee6d01be758659aeb18439aa44b54ac48d3.tar.gz
forums-714fdee6d01be758659aeb18439aa44b54ac48d3.tar.bz2
forums-714fdee6d01be758659aeb18439aa44b54ac48d3.tar.xz
forums-714fdee6d01be758659aeb18439aa44b54ac48d3.zip
*** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@6578 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/common.php1
-rw-r--r--phpBB/includes/functions.php2
2 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/common.php b/phpBB/common.php
index ccebe5de2e..73f30e17a5 100644
--- a/phpBB/common.php
+++ b/phpBB/common.php
@@ -198,7 +198,6 @@ unset($dbpasswd);
// Grab global variables, re-cache if necessary
$config = $cache->obtain_config();
-$dss_seeded = false;
// Disable board if the install/ directory is still present
if (file_exists($phpbb_root_path . 'install') && !defined('ADMIN_START'))
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 814dcc74af..91a818d454 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -157,8 +157,8 @@ function gen_rand_string($num_chars = 8)
*/
function unique_id($extra = 'c')
{
+ static $dss_seeded = false;
global $config;
- static $dss_seeded;
$val = $config['rand_seed'] . microtime();
$val = md5($val);