You are here

function _esi__get_seed_key in ESI: Edge Side Includes 6.2

Get the current seed key.

2 calls to _esi__get_seed_key()
esi_get_user_hash in ./esi.inc
Get the hash for a user.
_esi__get_roles_hash in ./esi.inc
Get the hash for a set of roles.

File

./esi.inc, line 11
Helper functions for the ESI module.

Code

function _esi__get_seed_key() {
  $seed = variable_get('esi_seed_key', FALSE);
  if (!$seed) {
    $seed = _esi__rotate_seed_key();
  }
  return $seed;
}