undefined index

This commit is contained in:
Alexander M. Turek
2002-09-28 17:38:38 +00:00
parent 617545f8f2
commit ac60f9bf1c
2 changed files with 6 additions and 5 deletions

View File

@@ -8,7 +8,9 @@ $Source$
2002-09-28 Alexander M. Turek <rabus@users.sourceforge.net>
* 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<4C>c Chapeaux <lolo@phpheaven.net>
* db_details_qbe.php3: PHP3 fixes & coding standards.

View File

@@ -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;