Skip to content

Config Flags

Prasath Mani edited this page Dec 2, 2022 · 4 revisions
  • $root_path - default is $_SERVER['DOCUMENT_ROOT']
  • $root_url - default is 'http(s)://site.domain/'
  • $http_host - default is $_SERVER['HTTP_HOST']
  • $global_readonly - default is false; Global read-only, including when auth is not being used
  • $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 'm/d/Y g:i A'
  • $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'
  • $exclude_items - default is ""; Files and folders to excluded from listing
  • $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 empty, This can be either a full URL to an .PNG image, or a path based on the document root.
  • MAX_UPLOAD_SIZE - default is 5GB.
  • $ip_ruleset - default is OFF.