mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-05 22:14:59 +02:00
*** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@6578 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
d420932921
commit
714fdee6d0
@ -198,7 +198,6 @@ unset($dbpasswd);
|
|||||||
|
|
||||||
// Grab global variables, re-cache if necessary
|
// Grab global variables, re-cache if necessary
|
||||||
$config = $cache->obtain_config();
|
$config = $cache->obtain_config();
|
||||||
$dss_seeded = false;
|
|
||||||
|
|
||||||
// Disable board if the install/ directory is still present
|
// Disable board if the install/ directory is still present
|
||||||
if (file_exists($phpbb_root_path . 'install') && !defined('ADMIN_START'))
|
if (file_exists($phpbb_root_path . 'install') && !defined('ADMIN_START'))
|
||||||
|
@ -157,8 +157,8 @@ function gen_rand_string($num_chars = 8)
|
|||||||
*/
|
*/
|
||||||
function unique_id($extra = 'c')
|
function unique_id($extra = 'c')
|
||||||
{
|
{
|
||||||
|
static $dss_seeded = false;
|
||||||
global $config;
|
global $config;
|
||||||
static $dss_seeded;
|
|
||||||
|
|
||||||
$val = $config['rand_seed'] . microtime();
|
$val = $config['rand_seed'] . microtime();
|
||||||
$val = md5($val);
|
$val = md5($val);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user