mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
erm, unique_id() should return a result
git-svn-id: file:///svn/phpbb/trunk@9266 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -78,6 +78,7 @@ class phpbb_security extends phpbb_plugin_support
|
||||
return substr($val, 4, 16);
|
||||
}
|
||||
|
||||
|
||||
$val = phpbb::$config['rand_seed'] . microtime();
|
||||
$val = md5($val);
|
||||
phpbb::$config['rand_seed'] = md5(phpbb::$config['rand_seed'] . $val . $extra);
|
||||
@@ -90,7 +91,7 @@ class phpbb_security extends phpbb_plugin_support
|
||||
$this->dss_seeded = true;
|
||||
}
|
||||
|
||||
$result = substr($val, 4, 16);
|
||||
return substr($val, 4, 16);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user