"fixed" bug #523408 - error with php3 compatibility

This commit is contained in:
Loïc Chapeaux
2002-02-27 21:06:39 +00:00
parent 7c7631ead0
commit 497c7b3d15
3 changed files with 8 additions and 2 deletions

View File

@@ -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;
?>
<!-- Query box, sql file loader and bookmark support -->