• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

What folders XFMG takes in account to display the global "Disk Usage"

imthebest

Well-known member
#1
On my installation I see the following in the Gallery Statistics block: Disk Usage: 1.6GB

However the size of the directory data/xengallery is 2.6GB. And I think XFMG also stores copies of its media on other folders inside data and also inside internal_data.
 

Chris D

XenForo developer
Staff member
#2
It doesn't aggregate the file size from the file system, it gets them from the xf_attachment_data table. It sums up the file_size field of the media items as cached in that table.

So, it doesn't count anything in the data directory.
 

Chris D

XenForo developer
Staff member
#4
data/xengallery for thumbnails
internal_data/attachments for full size images (among the rest of the XF attachments)