prevent to use dl() if dl not exists (PHP5)
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2001-08-15 Steve Alberty <alberty@neptunlabs.de>
|
||||
* lib.inc.php3: prevent to use dl() if dl not exists (PHP5)
|
||||
|
||||
2001-08-14 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||
* lib.inc.php3; db_readdump.php3, lines 85-88: Fixed some coding style
|
||||
inconcistencies and make the patch from Robin PHP3 compatible.
|
||||
|
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user