diff --git a/tinyfilemanager.php b/tinyfilemanager.php index 5ac361f..9af0df7 100644 --- a/tinyfilemanager.php +++ b/tinyfilemanager.php @@ -1,6 +1,6 @@ 'Directory path', 'Username2' => 'Directory path', ...) -$directories_users = array(); - // input encoding for iconv $iconv_input_encoding = 'UTF-8'; @@ -2151,9 +2147,9 @@ $tableTheme = (FM_THEME == "dark") ? "text-white bg-dark table-dark" : "bg-white '.fm_get_filesize($all_files_size).'' ?> '.$num_files.'' ?> '.$num_folders.'' ?> - + @@ -3113,7 +3109,7 @@ function fm_download_file($fileLocation, $fileName, $chunkSize = 1024) fseek($fp, $range); - while (!feof($fp) and (connection_status() == 0)) { + while (!@feof($fp) and (connection_status() == 0)) { set_time_limit(0); print(@fread($fp, 1024*$chunkSize)); flush();