From 497c7b3d1567142f0a24e30fe5ccd5d42317f778 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Wed, 27 Feb 2002 21:06:39 +0000 Subject: [PATCH] "fixed" bug #523408 - error with php3 compatibility --- ChangeLog | 2 ++ db_details.php3 | 4 +++- tbl_properties.php3 | 4 +++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 556a841b3..03bc11fff 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,8 @@ $Source$ * db_stats, lines 227.243: "SHOW TABLE STATUS" requires MySQL 3.23.03+. * db_details.php3, db_printview.php3: fixed bug #522626 - Incorrect table info for MySQL 3.23.2-a. + * db_details.php3, lines 531-533; tbl_properties.php3, lines 691-693: + "fixed" bug #523408 - error with php3 compatibility. 2002-02-26 Loïc Chapeaux * main.php3, lines 11-15; libraries/grab_globals.lib.php3; diff --git a/db_details.php3 b/db_details.php3 index e108c256b..0913493f9 100755 --- a/db_details.php3 +++ b/db_details.php3 @@ -528,7 +528,9 @@ if ($num_tables > 0) { // loic1: defines wether file upload is available or not $is_upload = (PMA_PHP_INT_VERSION >= 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'))); + // loic1: php3.0.15 bug -> always enabled with php3 + // : (intval(@get_cfg_var('upload_max_filesize'))); + : 1; ?> diff --git a/tbl_properties.php3 b/tbl_properties.php3 index ed52b686b..89005f63e 100755 --- a/tbl_properties.php3 +++ b/tbl_properties.php3 @@ -688,7 +688,9 @@ echo "\n"; // loic1: defines wether file upload is available or not $is_upload = (PMA_PHP_INT_VERSION >= 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'))); + // loic1: php3.0.15 bug -> always enabled with php3 + // : (intval(@get_cfg_var('upload_max_filesize'))); + : 1; ?>