function _encrypt_mcrypt_extension_is_present in Encrypt 7.2
Callback to see if the Mcrypt library is present.
2 string references to '_encrypt_mcrypt_extension_is_present'
- encrypt_mcrypt_aes_cbc_encrypt_encryption_methods in plugins/
encryption_methods/ mcrypt_aes_cbc.inc - Implements MODULE_FILENAME_encrypt_encryption_methods().
- encrypt_mcrypt_rij_256_encrypt_encryption_methods in plugins/
encryption_methods/ mcrypt_rij_256.inc - Implements MODULE_FILENAME_encrypt_encryption_methods().
File
- plugins/
encryption_methods/ mcrypt_aes_cbc.inc, line 192
Code
function _encrypt_mcrypt_extension_is_present() {
$errors = array();
if (!function_exists('mcrypt_encrypt')) {
$errors[] = t('Mcrypt library not installed.');
}
return $errors;
}