(at)DIRECTORY

@DIRECTORY Bindings

Syntax

@DIRECTORY path_to_folder

Binds the variable to a folder, where path_to_folder is the path to the folder, read from the document root of the site (not the root of the server). It returns a list of ALL files in the specified folder – filtering by file type (e.g. *.jpg) is not supported.

Suggest an edit to this page on GitHub (Requires GitHub account. Opens a new window/tab).