diff --git a/ChangeLog b/ChangeLog index 479495c12..c3056e4c5 100755 --- a/ChangeLog +++ b/ChangeLog @@ -20,6 +20,7 @@ $Source$ db_details_qbe.php3, Documentation.html, ldi_check.php3, ldi_table.php3, tbl_dump.php3, tbl_properties_export.php3, tbl_query_box.php3, libraries/charset_conversion.lib.php3: Coding standards. + * db_details.php3, read_dump.php3: optimize web-based upload directory 2002-08-21 Michal Cihar * libraries/common.lib.php3: revised to fit coding standards (by Loïc) and diff --git a/db_details.php3 b/db_details.php3 index b277cb47d..40f4437f9 100755 --- a/db_details.php3 +++ b/db_details.php3 @@ -108,7 +108,7 @@ echo "\n"; // web-server upload directory // (TODO: display the charset selection, even if is_upload == FALSE) -if ($cfg['UploadDir'] !='' && $handle = opendir($cfg['UploadDir'])) { +if ($cfg['UploadDir'] != '' && $handle = @opendir($cfg['UploadDir'])) { $is_first = 0; while ($file = @readdir($handle)) { if (is_file($cfg['UploadDir'] . $file)) {