From bad5f5dd957305bf28c5c75e674977eb526a2730 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Thu, 22 Aug 2002 14:10:43 +0000 Subject: [PATCH] Backwards compatibility --- libraries/config_import.lib.php3 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libraries/config_import.lib.php3 b/libraries/config_import.lib.php3 index db1e14ea7..7745bb181 100644 --- a/libraries/config_import.lib.php3 +++ b/libraries/config_import.lib.php3 @@ -215,7 +215,7 @@ if (!defined('PMA_CONFIG_IMPORT_LIB_INCLUDED')){ $cfg['ShowTooltip'] = TRUE; } } - + if (!isset($cfg['LeftDisplayLogo'])) { $cfg['LeftDisplayLogo'] = TRUE; } @@ -605,6 +605,10 @@ if (!defined('PMA_CONFIG_IMPORT_LIB_INCLUDED')){ $cfg['SQLQuery']['Validate'] = FALSE; } + if (!isset($cfg['UploadDir'])) { + $cfg['UploadDir'] = './upload/'; + } + if (!isset($cfg['SQLValidator']['use'])) { $cfg['SQLValidator']['use'] = FALSE; }