Explorar o código

Correct documentation

pdontthink %!s(int64=16) %!d(string=hai) anos
pai
achega
04498a59be
Modificáronse 1 ficheiros con 6 adicións e 5 borrados
  1. 6 5
      functions/strings.php

+ 6 - 5
functions/strings.php

@@ -1305,9 +1305,10 @@ function sm_get_user_security_tokens($purge_old=TRUE)
   *
   *
   * WARNING: If the administrator has turned the token system
   * WARNING: If the administrator has turned the token system
   *          off by setting $disable_security_tokens to TRUE in
   *          off by setting $disable_security_tokens to TRUE in
-  *          config/config_local.php, this function will not
-  *          store tokens in the user preferences (but it will
-  *          still generate and return a random string).
+  *          config/config.php or the configuration tool, this
+  *          function will not store tokens in the user
+  *          preferences (but it will still generate and return
+  *          a random string).
   *
   *
   * @return void
   * @return void
   *
   *
@@ -1357,8 +1358,8 @@ function sm_generate_security_token()
   *
   *
   * WARNING: If the administrator has turned the token system
   * WARNING: If the administrator has turned the token system
   *          off by setting $disable_security_tokens to TRUE in
   *          off by setting $disable_security_tokens to TRUE in
-  *          config/config_local.php, this function will always
-  *          return TRUE.
+  *          config/config.php or the configuration tool, this
+  *          function will always return TRUE.
   *
   *
   * @param string  $token           The token to validate
   * @param string  $token           The token to validate
   * @param int     $validity_period The number of seconds tokens are valid
   * @param int     $validity_period The number of seconds tokens are valid