This commit is contained in:
Marc Delisle
2002-08-21 14:20:25 +00:00
parent 4656e023f9
commit 8a3a84dc0f
2 changed files with 2 additions and 1 deletions

View File

@@ -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 <nijel@users.sourceforge.net>
* libraries/common.lib.php3: revised to fit coding standards (by Lo<4C>c) and

View File

@@ -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)) {