From 714fdee6d01be758659aeb18439aa44b54ac48d3 Mon Sep 17 00:00:00 2001 From: David M Date: Sun, 12 Nov 2006 19:45:36 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: file:///svn/phpbb/trunk@6578 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/common.php | 1 - phpBB/includes/functions.php | 2 +- 2 files changed, 1 insertion(+), 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);