@Matt Core stores it under 'filestore::dir_root' metadata. It's even mentioned here: http://docs.elgg.org/wiki/Duplicate_Installation
See: https://github.com/Elgg/Elgg/blob/master/engine/classes/ElggFile.php#L441
huh, never noticed or run into that before. I guess I rarely use the stock file plugin on a highly customized site... Storing system paths as metadata seems wrong, especially as it seems to always equal the datalists entry...
This is one of the many problems with the filestore system. I think the original idea was to be able to "shard" the filestore by putting different files in different dir_roots, but that's something better done at a FS level than at a PHP level.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.