diff --git a/ChangeLog b/ChangeLog index 55808c04a..4a62d78bd 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,11 @@ phpMyAdmin - Changelog $Id$ $Source$ +2001-11-18 Loïc Chapeaux + * db_details.php3, lines 178-492; tbl_properties.php3, lines 670-685: the + "upload dump file" feature is no long displayed if upload is disabled in + the php configuration file. + 2001-11-17 Loïc Chapeaux * libraries/display_tbl.lib.php3: - lines 85-86: fixed bug #482627 - show full processlist should have diff --git a/db_details.php3 b/db_details.php3 index f9fafe7ce..faa30b6f8 100755 --- a/db_details.php3 +++ b/db_details.php3 @@ -475,11 +475,20 @@ if ($num_tables > 0) {  
- $strOr $strLocationTextfile"; ?> :
+= 40000 && function_exists('ini_get')) + ? ((strtolower(ini_get('file_uploads')) == 'on' || ini_get('file_uploads') == 1) && intval(ini_get('upload_max_filesize'))) + : (intval(@get_cfg_var('upload_max_filesize'))); +if ($is_upload) { + echo ' ' . $strOr . ' ' . $strLocationTextfile . ' :
' . "\n"; + ?>

-
- 0) { diff --git a/tbl_properties.php3 b/tbl_properties.php3 index 1ae9e4204..680693575 100755 --- a/tbl_properties.php3 +++ b/tbl_properties.php3 @@ -667,11 +667,21 @@ echo "\n";  
- $strOr $strLocationTextfile"; ?> :
+= 40000 && function_exists('ini_get')) + ? ((strtolower(ini_get('file_uploads')) == 'on' || ini_get('file_uploads') == 1) && intval(ini_get('upload_max_filesize'))) + : (intval(@get_cfg_var('upload_max_filesize'))); +if ($is_upload) { + echo ' ' . $strOr . ' ' . $strLocationTextfile . ' :
' . "\n"; + ?>

- 0) {