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

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