Nessuna descrizione
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

var_www_dokuwiki_conf_local.j2 1.0KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /**
  3. * This is an example of how a local.php could look like.
  4. * Simply copy the options you want to change from dokuwiki.php
  5. * to this file and change them.
  6. *
  7. * When using the installer, a correct local.php file be generated for
  8. * you automatically.
  9. */
  10. $conf['title'] = '{{ domain }} Wiki';
  11. $conf['lang'] = 'en';
  12. $conf['license'] = 'cc-by-sa';
  13. $conf['savedir'] = '/data/dokuwiki';
  14. $conf['useacl'] = 1;
  15. $conf['superuser'] = '@admin';
  16. $conf['passcrypt'] = 'bcrypt';
  17. $conf['disableactions'] = 'register';
  18. $conf['userewrite'] = 1;
  19. $conf['useslash'] = 1;
  20. {% if dokuwiki_enable_ldap == true %}
  21. $conf['authtype'] = 'authldap';
  22. $conf['plugin']['authldap']['server'] = 'localhost';
  23. $conf['plugin']['authldap']['port'] = 389;
  24. $conf['plugin']['authldap']['version'] = 3;
  25. $conf['plugin']['authldap']['binddn'] = 'uid=admin,ou=people,{{ ldap_domain_string }}';
  26. $conf['plugin']['authldap']['bindpw'] = '{{ slapd_admin_password }}';
  27. $conf['plugin']['authldap']['usertree'] = 'uid=%{user},ou=people,{{ ldap_domain_string }}';
  28. {% endif %}