function encrypt_get_encrypt_drupal_variable_key in Encrypt 7.3
Same name and namespace in other branches
- 7.2 plugins/key_providers/drupal_variable.inc \encrypt_get_encrypt_drupal_variable_key()
Callback function to return a variable.
1 string reference to 'encrypt_get_encrypt_drupal_variable_key'
- encrypt_drupal_variable_encrypt_key_providers in plugins/
key_providers/ drupal_variable.inc - Implements MODULE_FILENAME_encrypt_key_providers().
File
- plugins/
key_providers/ drupal_variable.inc, line 27
Code
function encrypt_get_encrypt_drupal_variable_key() {
$key = variable_get('encrypt_drupal_variable_key', NULL);
if (empty($key)) {
watchdog('encrypt', 'You need to set the encrypt_drupal_variable_key variable, preferably in $conf in your settings.php.', array(), WATCHDOG_EMERGENCY);
drupal_set_message("Encryption settings are insufficient. See your site log for more information.", 'error');
}
return $key;
}