halgatewood / file-directory-list

Free Super Clean PHP File Directory Listing Script
https://halgatewood.com/free/file-directory-list/
360 stars 151 forks source link

Size shows not working #12

Closed byman64 closed 6 years ago

byman64 commented 6 years ago

Hi, thx for share your work.

I just downloaded the last version 1.9 and folder size always shows 4kb. screenshot with folder size missing

note: I have an old version without version inside and folder size works fine. In this version I only fixed the icons becuase they were missing . screenshot with folder size

Any idea why in the new version size is wrong?

UPDATE - 1 In the oldone there is a call to the function : format_size_from_bytes(foldersize($file)) It is missing in the version 1.9 screenshot with code compared

UPDATE - 2 You can download the UNKNOWN version with folder size feature until 2017-10-31 unknown version with folder size feature

UPDATE - 3 Just updated your last version 1.9 adding the feature for folder size. I called it 1.9.1 Changes:

You can download from the following link until 2017-10-31 file directory-list with folder size

UPDATE - 4 I am working on some other little stuff:

***[OT] Sorry but I dont know how github works, I have an account, I need to read some. Let me give you my new code with a simple link...1.9.2 will arrive soon.

I hope you will include the folder size feature in your next version.

regards

thx

georgeinmexico commented 6 years ago

I agree that file sizes display correctly, but all folders list as 4kb in size.

halgatewood commented 6 years ago

I just got the folder sizes displayed correctly with a count of how many files are in them. New script and demo here: https://halgatewood.com/free/file-directory-list/