aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);