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

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