diff --git a/libraries/common.lib.php3 b/libraries/common.lib.php3 index c186eebb9..8016fdfca 100644 --- a/libraries/common.lib.php3 +++ b/libraries/common.lib.php3 @@ -166,7 +166,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold} * staybyte - 26. June 2001 */ if (((PMA_PHP_INT_VERSION >= 40000 && !@ini_get('safe_mode') && @ini_get('enable_dl')) - || (PMA_PHP_INT_VERSION > 30009 && !@get_cfg_var('safe_mode'))) + || (PMA_PHP_INT_VERSION < 40000 && PMA_PHP_INT_VERSION > 30009 && !@get_cfg_var('safe_mode'))) && @function_exists('dl')) { if (PMA_PHP_INT_VERSION < 40000) { $extension = 'MySQL';