* RichFilemanager configuration file for Local storage.
* @author Pavel Solomienko <https://github.com/servocoder/>
* Full path to log file, e.g. "/var/log/filemanager/logfile".
* By default the application writes logs to "filemanager.log" file that located at sys_get_temp_dir()
* General options section
* By default the application will search `fileRoot` folder under server root folder.
* Set value to "false" in case the `fileRoot` folder located outside server root folder.
* If `fileRoot` options is set to "false", `serverRoot` value is ignored - always "true".
* Default value "false". Path to the user storage folder.
* By default the application will determine the path itself based on $_SERVER['DOCUMENT_ROOT'].
* You can set specific path to user storage folder with the following rules:
* - absolute path in case `serverRoot` set to "false", e.g. "/var/www/html/filemanager/userfiles/"
* - relative path in case `serverRoot` set to "true", e.g. "/filemanager/userfiles/"
"fileRoot" => "[[wwwdir]]/dada_mail_support_files/file_uploads",
* Format of the date to display. See http://www.php.net/manual/en/function.date.php
"dateFormat" => "d M Y H:i",
* The maximum allowed root folder total size (in Bytes). If set to "false", no size limitations applied.
"fileRootSizeLimit" => false,
* Default value "false". Deny non-latin characters in file/folder names.
* PHP requires INTL extension installed, otherwise all non-latin characters will be stripped.
"charsLatinOnly" => false,
* Default value "false". Allow write operations.
* Set value to "true" to disable all modifications to the filesystem, including thumbnail generation.
* Sanitize file/folder name, replaces gaps and some other special chars.
"normalizeFilename" => true,
* Filename extensions are compared against this list, after the right-most dot '.'
* Matched files will be filtered from listing results, and will be restricted from all file operations (both read and write).
* Default value "ALLOW_LIST". Takes value "ALLOW_LIST" / "DISALLOW_LIST".
* If is set to "ALLOW_LIST", only files with extensions that match `restrictions` list will be allowed, all other files are forbidden.
* If is set to "DISALLOW_LIST", all files are allowed except of files with extensions that match `restrictions` list.
"policy" => "ALLOW_LIST",
* Whether extension comparison should be case sensitive.
* List of allowed / disallowed extensions, depending on the `policy` value.
* To allow / disallow files without extension, add / remove the empty string "" to / from this list.
* Files and folders paths relative to the user storage folder (see `fileRoot`) are compared against this list.
* Matched items will be filtered from listing results, and will be restricted from all file operations (both read and write).
* Default value "ALLOW_LIST". Takes value "ALLOW_LIST" / "DISALLOW_LIST".
* If is set to "ALLOW_LIST", only files and folders that match `restrictions` list will be allowed, all other files are forbidden.
* If is set to "DISALLOW_LIST", all files and folders are allowed except of ones that match `restrictions` list.
"policy" => "DISALLOW_LIST",
* Whether patterns comparison should be case sensitive.
* List of allowed / disallowed patterns, depending on the `policy` value.
* Rules for symbolic links that point to files/folders OUTSIDE the `fileroot` folder.
* Targets of symbolic links INSIDE the `fileroot` folder are allowed by default.
* Allow to link ANY path when set to "true" - quite unsecure.
* Target path will be restricted only by OS permissions.
* List of files/folders that can be linked with symlinks.
* All contents of listed folder are allowed to be linked as well.
* Use absolute server paths.
* Default value "16000000" (16 MB).
* The maximum allowed file size (in Bytes). If set to "false", no size limitations applied.
* See https://github.com/blueimp/jQuery-File-Upload/wiki/Options#maxfilesize.
"fileSizeLimit" => 16000000,
* If set to "true" files will be overwritten on uploads if they have same names, otherwise an index will be added.
* Upload parameter name, that is expected to contains uploaded file data - $_FILES[paramName].
* Good usecase example is CKEditor image upload plugin, that sends files within "upload" name.
* Uploaded image settings.
* To disable resize set both `maxWidth` and `maxHeight` to "false".
* Automatically rotate images based on EXIF meta data.
* Resize maximum width in pixels. Takes integer values or "false".
* Resize maximum height in pixels. Takes integer values or "false".
* Thumbnail creation settings of uploaded image.
* Generate thumbnails using PHP to increase performance on listing directory.
* If set to "false", it will generate thumbnail each time the image is requested. Decreased performance.
* Default value "_thumbs/".
* Folder to store thumbnails, invisible via filemanager.
* If you want to make it visible, just remove it from `excluded_dirs` configuration option.
* Crop thumbnails. Set dimensions below to create square thumbnails of a particular size.
* Maximum crop width in pixels.
* Maximum crop height in pixels.
* Default mode while creating new folder.