1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-22 09:24:21 +01:00

better comment in default configuration + add section

* better comments in default config about static file serving
* adding section for futur functionality: adding custom js files
  (for auto-fill)
This commit is contained in:
kakwa 2015-08-05 20:03:17 +02:00
parent 94b35655dc
commit f61c7908cb

View File

@ -162,5 +162,21 @@ auth.mode = 'or'
templates.dir = '/usr/share/ldapcherry/templates/' templates.dir = '/usr/share/ldapcherry/templates/'
[/static] [/static]
# enable serving static file through ldapcherry
# set to False if files served directly by an
# http server for better performance
tools.staticdir.on = True tools.staticdir.on = True
# static resources directory (js, css, images...)
tools.staticdir.dir = '/usr/share/ldapcherry/static/' tools.staticdir.dir = '/usr/share/ldapcherry/static/'
## custom javascript files
#[/custom]
#
## enable serving static file through ldapcherry
## set to False if files served directly by an
## http server for better performance
#tools.staticdir.on = True
## path to directory containing js files
## use it to add custom auto-fill functions
#tools.staticdir.dir = '/etc/ldapcherry/custom_js/'