From e0c7147806d2d4ec9c7f5f0d26e95dd1be67940e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 22 Jun 2011 11:02:13 +0200 Subject: [PATCH] This is a fatal error rather than place for warning It is not necessary to translate as this really should not happen. --- libraries/auth/cookie.auth.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/auth/cookie.auth.lib.php b/libraries/auth/cookie.auth.lib.php index d43326c9d3..c7aae3f3d5 100644 --- a/libraries/auth/cookie.auth.lib.php +++ b/libraries/auth/cookie.auth.lib.php @@ -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));