diff --git a/tinyfilemanager.php b/tinyfilemanager.php index 4e93d1a..f0d2fdb 100644 --- a/tinyfilemanager.php +++ b/tinyfilemanager.php @@ -1513,7 +1513,8 @@ if (isset($_GET['view'])) { $ext = strtolower(pathinfo($file_path, PATHINFO_EXTENSION)); $mime_type = fm_get_mime_type($file_path); - $filesize = fm_get_filesize(filesize($file_path)); + $filesize_raw = fm_get_size($file_path); + $filesize = fm_get_filesize($filesize_raw); $is_zip = false; $is_gzip = false; @@ -1556,9 +1557,7 @@ if (isset($_GET['view'])) {

""

Full path:
- File - size: = 1000): ?> () -
+ File size:
MIME-type: