diff --git a/ChangeLog b/ChangeLog index 7f05db8bb..61c4c33ae 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,7 +8,9 @@ $Source$ 2002-09-28 Alexander M. Turek * libraries/common.lib.php3: $cfg['PmaAbsoluteURI'] detection did not work properly on IIS 6.0. - * libraries/config_import.lib.php3: Fixed an inconsitence. + * libraries/config_import.lib.php3: + - Fixed an inconsitence; + - Fixed an "undefined index" error. 2002-09-27 Loïc Chapeaux * db_details_qbe.php3: PHP3 fixes & coding standards. diff --git a/libraries/config_import.lib.php3 b/libraries/config_import.lib.php3 index c93c95c21..d77a5291f 100644 --- a/libraries/config_import.lib.php3 +++ b/libraries/config_import.lib.php3 @@ -620,10 +620,9 @@ if (!defined('PMA_CONFIG_IMPORT_LIB_INCLUDED')){ $cfg['SQLQuery']['Validate'] = FALSE; } -// do not set a value here, an empty value means to not use the feature -// if (!isset($cfg['UploadDir'])) { -// $cfg['UploadDir'] = './upload/'; -// } + if (!isset($cfg['UploadDir'])) { + $cfg['UploadDir'] = ''; + } if (!isset($cfg['SQLValidator']['use'])) { $cfg['SQLValidator']['use'] = FALSE;