Config Flags - pwwq/tinyfilemanager GitHub Wiki
$root_path
- default is $_SERVER['DOCUMENT_ROOT']
$root_url
- default is 'http(s)://site.domain/'
$http_host
- default is $_SERVER['HTTP_HOST']
$iconv_input_encoding
- default is 'CP1251'
$use_highlightjs
- default is true
; Enable/Disable the code highlight
$highlightjs_style
- default is 'vs'
$datetime_format
- default is 'd.m.y H:i'
$allowed_upload_extensions
- default is ""; Configure allowed file extensions to upload .i.e: 'jpg,png,pdf,gif,html,css,js'
$allowed_upload_extensions
- default is ""; Configure allowed file extensions to create/rename .i.e: 'html,css,js'
$edit_files
- default is true
; Enable ace.js (https://ace.c9.io/) on view's page
$sticky_navbar
- default is true
; Enable/Disable fixed navigation top bar
$online_viewer
- default is 'google'
; Available rules are 'google'
, 'microsoft'
or false
$favicon_path
- default is '?img=favicon'
This can be either a full URL to an .PNG image, or a path based on the document root.
MAX_UPLOAD_SIZE
- default is 2048
.
$ip_ruleset
- default is OFF
.