mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
comments
git-svn-id: file:///svn/phpbb/trunk@8779 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
3a3b9eb8ef
commit
a45ac24bd7
1 changed files with 3 additions and 5 deletions
|
@ -2017,9 +2017,8 @@ function meta_refresh($time, $url)
|
|||
|
||||
/**
|
||||
* Add a secret hash for use in links/GET requests
|
||||
* @param string $link_name The name of the link; has to match the name used in check_form_key, otherwise no restrictions apply
|
||||
* @param int $length The length of the key to generate
|
||||
* @return sting the hash
|
||||
* @param string $link_name The name of the link; has to match the name used in check_link_hash, otherwise no restrictions apply
|
||||
* @return string the hash
|
||||
|
||||
*/
|
||||
function generate_link_hash($link_name)
|
||||
|
@ -2036,8 +2035,7 @@ function generate_link_hash($link_name)
|
|||
/**
|
||||
* checks a link hash - for GET requests
|
||||
* @param string $token the submitted token
|
||||
* @param string $link_name The name of the link; has to match the name used in check_form_key, otherwise no restrictions apply
|
||||
* @param int $length The length of the key to check
|
||||
* @param string $link_name The name of the link
|
||||
* @return boolean true if all is fine
|
||||
*/
|
||||
function check_link_hash($token, $link_name)
|
||||
|
|
Loading…
Add table
Reference in a new issue