Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2011-06-22 15:23:35 +0400
committerMichal Čihař <mcihar@suse.cz>2011-06-22 15:23:35 +0400
commit60dad887b00398be8821196b8c397ec06a21082d (patch)
treec7353e1e4cb7ba1080ffc0a20c9dce90f264ea83 /main.php
parent8c6e88002232949f539b989b73cb97a6e5ff3eca (diff)
Fix condition for mcrypt warning
Diffstat (limited to 'main.php')
-rw-r--r--main.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.php b/main.php
index fecb0d75db..f340e8097a 100644
--- a/main.php
+++ b/main.php
@@ -344,7 +344,7 @@ if ($cfg['SuhosinDisableWarning'] == false && @ini_get('suhosin.request.max_valu
/**
* Warning about mcrypt.
*/
-if (!$GLOBALS['cfg']['McryptDisableWarning']) {
+if (!function_exists('mcrypt_encrypt') && !$GLOBALS['cfg']['McryptDisableWarning']) {
PMA_warnMissingExtension('mcrypt');
}