File: config.php

package info (click to toggle)
kanboard 1.2.50%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,176 kB
  • sloc: php: 131,331; javascript: 3,773; sql: 2,383; makefile: 104; sh: 94; xml: 83
file content (53 lines) | stat: -rw-r--r-- 1,561 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php


// Standard Debian paths
define('DATA_DIR', '/var/lib/kanboard/data');
define('PLUGINS_DIR', '/var/lib/kanboard/plugins');
define('CACHE_DIR', '/var/cache/kanboard');
define('FILES_DIR', '/var/lib/kanboard/files');

// Standard Debian Mail configuration
define('MAIL_CONFIGURATION', true);
define('MAIL_FROM', 'kanboard-notifications@localhost.localdomain');
define('MAIL_TRANSPORT', 'sendmail');
define('MAIL_SENDMAIL_COMMAND', '/usr/sbin/sendmail -t');

// Enable/disable the reverse proxy authentication
define('REVERSE_PROXY_AUTH', false);

// Header name to use for the username
define('REVERSE_PROXY_USER_HEADER', 'REMOTE_USER');

// Username of the admin, by default blank
define('REVERSE_PROXY_DEFAULT_ADMIN', '');

// Header name to use for the username
define('REVERSE_PROXY_EMAIL_HEADER', 'REMOTE_EMAIL');

// Default domain to use for setting the email address
define('REVERSE_PROXY_DEFAULT_DOMAIN', '');

// Enable or disable "Strict-Transport-Security" HTTP header
define('ENABLE_HSTS', true);

// Enable or disable "X-Frame-Options: DENY" HTTP header
define('ENABLE_XFRAME', true);

// Escape html inside markdown text
define('MARKDOWN_ESCAPE_HTML', true);

// Enable/disable url rewrite
define('ENABLE_URL_REWRITE', true);

// Enable captcha after 3 authentication failure
define('BRUTEFORCE_CAPTCHA', 3);

// Lock the account after 6 authentication failure
define('BRUTEFORCE_LOCKDOWN', 6);

// Lock account duration in minute
define('BRUTEFORCE_LOCKDOWN_DURATION', 15);

// Session handler: db or php
define('SESSION_HANDLER', 'php');