diff --git a/ChangeLog b/ChangeLog index 0a176398e..7efaa11ab 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2001-08-15 Steve Alberty + * lib.inc.php3: prevent to use dl() if dl not exists (PHP5) + 2001-08-14 Loïc Chapeaux * lib.inc.php3; db_readdump.php3, lines 85-88: Fixed some coding style inconcistencies and make the patch from Robin PHP3 compatible. diff --git a/lib.inc.php3 b/lib.inc.php3 index befad2f9e..d1f500bd6 100755 --- a/lib.inc.php3 +++ b/lib.inc.php3 @@ -106,7 +106,7 @@ if (!defined('__LIB_INC__')){ } else { $extension = 'mysql'; } - if (!@extension_loaded($extension) && !@get_cfg_var('safe_mode')) { + if (!@extension_loaded($extension) && !@get_cfg_var('safe_mode') && @function_exists('dl')) { @dl($extension.$suffix); } if (!@extension_loaded($extension)) {