_add_nonce() public method

public _add_nonce ( $server_url, $timestamp, $salt )
Example #1
0
 /**
  * @access private
  */
 function _add_nonce($server_url, $timestamp, $salt)
 {
     // PECL SQLite extensions 1.0.3 and older (1.0.3 is the
     // current release at the time of this writing) have a broken
     // sqlite_escape_string function that breaks when passed the
     // empty string. Prefixing all strings with one character
     // keeps them unique and avoids this bug. The nonce table is
     // write-only, so we don't have to worry about updating other
     // functions with this same bad hack.
     return parent::_add_nonce('x' . $server_url, $timestamp, $salt);
 }