diff --git a/ChangeLog b/ChangeLog index 6ac3fdbbf..0afa9f6af 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,10 +5,14 @@ phpMyAdmin - Changelog $Id$ $Source$ +2002-09-26 Marc Delisle + * config.inc.php3, libraries/config_import.lib.php3: let UploadDir + empty because this means to not use the feature, thanks to Loïc + 2002-09-25 Marc Delisle * read_dump.php3: bug 611970, do not display the imported query if larger than 500 (I don't think it's necessary to add another - config variable), thanks to Loïc + config variable), thanks to Loïc 2002-09-24 Marc Delisle * sql.php3: could not go to next page when browsing a query containing diff --git a/config.inc.php3 b/config.inc.php3 index 1b136c2c9..9c98922d0 100755 --- a/config.inc.php3 +++ b/config.inc.php3 @@ -365,7 +365,7 @@ $cfg['SQLQuery']['Validate'] = FALSE; // Validate a query (see $cfg['SQLVa /** * web-server upload directory */ -$cfg['UploadDir'] = './upload/'; // end with a slash +$cfg['UploadDir'] = ''; // for example, './upload/'; you must end it with a slash, and you leave it empty for no upload directory /** * SQL Parser Settings @@ -488,7 +488,6 @@ if ($cfg['ShowFunctionFields']) { */ set_magic_quotes_runtime(0); - /** * File Revision - do not change either! */ diff --git a/libraries/config_import.lib.php3 b/libraries/config_import.lib.php3 index c41ac6616..87408a5ee 100644 --- a/libraries/config_import.lib.php3 +++ b/libraries/config_import.lib.php3 @@ -617,9 +617,10 @@ if (!defined('PMA_CONFIG_IMPORT_LIB_INCLUDED')){ $cfg['SQLQuery']['Validate'] = FALSE; } - if (!isset($cfg['UploadDir'])) { - $cfg['UploadDir'] = './upload/'; - } +// 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['SQLValidator']['use'])) { $cfg['SQLValidator']['use'] = FALSE;