This is a fatal error rather than place for warning

It is not necessary to translate as this really should not happen.
This commit is contained in:
Michal Čihař 2011-06-22 11:02:13 +02:00
parent 568a0e03de
commit e0c7147806

View File

@ -33,7 +33,7 @@ if (function_exists('mcrypt_encrypt')) {
srand((double) microtime() * 1000000);
$td = mcrypt_module_open(MCRYPT_BLOWFISH, '', MCRYPT_MODE_CBC, '');
if ($td === false) {
PMA_warnMissingExtension('mcrypt');
die('Failed to use Blowfish from mcrypt!');
}
$iv = mcrypt_create_iv(mcrypt_enc_get_iv_size($td), MCRYPT_RAND);
$GLOBALS['PMA_Config']->setCookie('pma_mcrypt_iv', base64_encode($iv));