Skip to content

Config Flags

Prasath Mani edited this page Jan 1, 2020 · 4 revisions
  • FM_ROOT_PATH - default is $_SERVER['DOCUMENT_ROOT']
  • FM_ROOT_URL - default is 'http(s)://site.domain/'
  • FM_SELF_URL - default is 'http(s)://site.domain/' . $_SERVER['PHP_SELF']
  • FM_ICONV_INPUT_ENC - default is 'CP1251'
  • FM_USE_HIGHLIGHTJS - default is true; Enable/Disable the code highlight
  • FM_HIGHLIGHTJS_STYLE - default is 'vs'
  • FM_DATETIME_FORMAT - default is 'd.m.y H:i'
  • FM_EXTENSION - default is ""; Configure allowed file extensions to upload .i.e: 'jpg,png,pdf,gif,html,css,js'
  • show_hidden_files - default is false; Show or hide files and folders that starts with a dot
  • $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'; Google Docs Viewer to view all kinds of office file formats
Clone this wiki locally