Skip to the content
Documentation

DirDepth

No ratings yet

Summary

Sets the number of extra directories that will be made when storing a file.

Usage

DirDepth= number

Description

Filesystems have limitations on how many files you can store within one directory. In order to avoid these problems eZ publish creates extra directories based on the first letters in the filename. This solution spreads the files over many directories. The DirDepth settings controls how many levels of extra directories eZ publish should make.
The default setting '3' support millions of files and should be enough for most sites.

Examples

DirDepth=3

If you store the file test.jpg eZ publish will store the file in the directory "t/e/s/" the complete path for the file will be "t/e/s/test.jpg".

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.