commit
9a2226139d
1 changed files with 2 additions and 0 deletions
|
|
@ -11401,6 +11401,7 @@ function isAFileWithExecutableContent($filename)
|
|||
* Return the value of token currently saved into session with name 'newtoken'.
|
||||
* This token must be send by any POST as it will be used by next page for comparison with value in session.
|
||||
*
|
||||
* @since Dolibarr v10.0.7
|
||||
* @return string
|
||||
*/
|
||||
function newToken()
|
||||
|
|
@ -11412,6 +11413,7 @@ function newToken()
|
|||
* Return the value of token currently saved into session with name 'token'.
|
||||
* For ajax call, you must use this token as a parameter of the call into the js calling script (the called ajax php page must also set constant NOTOKENRENEWAL).
|
||||
*
|
||||
* @since Dolibarr v10.0.7
|
||||
* @return string
|
||||
*/
|
||||
function currentToken()
|
||||
|
|
|
|||
Loading…
Reference in a new issue