2014-07-20 14:09:41 +02:00
|
|
|
<?php
|
|
|
|
|
2015-01-16 14:23:32 +01:00
|
|
|
// Enable/Disable debug
|
|
|
|
define('DEBUG', false);
|
|
|
|
|
2014-10-22 21:21:37 +02:00
|
|
|
// E-mail address for the "From" header (notifications)
|
|
|
|
define('MAIL_FROM', 'yuno_email');
|
|
|
|
|
|
|
|
// Mail transport to use: "smtp", "sendmail" or "mail" (PHP mail function)
|
|
|
|
define('MAIL_TRANSPORT', 'mail');
|
|
|
|
|
|
|
|
// SMTP configuration to use when the "smtp" transport is chosen
|
|
|
|
define('MAIL_SMTP_HOSTNAME', '');
|
|
|
|
define('MAIL_SMTP_PORT', 25);
|
|
|
|
define('MAIL_SMTP_USERNAME', '');
|
|
|
|
define('MAIL_SMTP_PASSWORD', '');
|
2014-11-23 20:14:17 +01:00
|
|
|
define('MAIL_SMTP_ENCRYPTION', null); // Valid values are "null", "ssl" or "tls"
|
2014-10-22 21:21:37 +02:00
|
|
|
|
|
|
|
// Sendmail command to use when the transport is "sendmail"
|
|
|
|
define('MAIL_SENDMAIL_COMMAND', '/usr/sbin/sendmail -bs');
|
|
|
|
|
|
|
|
// Database driver: sqlite, mysql or postgres (sqlite by default)
|
2014-07-20 14:09:41 +02:00
|
|
|
define('DB_DRIVER', 'mysql');
|
|
|
|
|
2014-10-22 21:21:37 +02:00
|
|
|
// Mysql/Postgres username
|
|
|
|
define('DB_USERNAME', 'yuno_dbuser');
|
2014-07-20 14:09:41 +02:00
|
|
|
|
2014-10-22 21:21:37 +02:00
|
|
|
// Mysql/Postgres password
|
|
|
|
define('DB_PASSWORD', 'yuno_dbpdw');
|
2014-07-20 14:09:41 +02:00
|
|
|
|
2014-10-22 21:21:37 +02:00
|
|
|
// Mysql/Postgres hostname
|
2014-07-20 14:09:41 +02:00
|
|
|
define('DB_HOSTNAME', 'localhost');
|
|
|
|
|
2014-10-22 21:21:37 +02:00
|
|
|
// Mysql/Postgres database name
|
|
|
|
define('DB_NAME', 'yuno_dbuser');
|
2014-07-20 14:09:41 +02:00
|
|
|
|
|
|
|
// Enable LDAP authentication (false by default)
|
2014-10-22 21:21:37 +02:00
|
|
|
define('LDAP_AUTH', false);
|
2014-07-20 14:09:41 +02:00
|
|
|
|
|
|
|
// LDAP server hostname
|
2014-10-22 21:21:37 +02:00
|
|
|
define('LDAP_SERVER', '');
|
2014-07-20 14:09:41 +02:00
|
|
|
|
|
|
|
// LDAP server port (389 by default)
|
|
|
|
define('LDAP_PORT', 389);
|
|
|
|
|
|
|
|
// By default, require certificate to be verified for ldaps:// style URL. Set to false to skip the verification.
|
|
|
|
define('LDAP_SSL_VERIFY', true);
|
|
|
|
|
2014-12-22 19:21:10 +01:00
|
|
|
// Enable LDAP START_TLS
|
|
|
|
define('LDAP_START_TLS', false);
|
|
|
|
|
2014-10-22 21:21:37 +02:00
|
|
|
// LDAP bind type: "anonymous", "user" (use the given user/password from the form) and "proxy" (a specific user to browse the LDAP directory)
|
|
|
|
define('LDAP_BIND_TYPE', 'anonymous');
|
|
|
|
|
|
|
|
// LDAP username to connect with. null for anonymous bind (by default).
|
|
|
|
// Or for user bind type, you can use a pattern: %s@kanboard.local
|
2014-07-20 14:09:41 +02:00
|
|
|
define('LDAP_USERNAME', null);
|
|
|
|
|
2014-10-22 21:21:37 +02:00
|
|
|
// LDAP password to connect with. null for anonymous bind (by default).
|
2014-07-20 14:09:41 +02:00
|
|
|
define('LDAP_PASSWORD', null);
|
|
|
|
|
|
|
|
// LDAP account base, i.e. root of all user account
|
2014-10-22 21:21:37 +02:00
|
|
|
// Example: ou=People,dc=example,dc=com
|
|
|
|
define('LDAP_ACCOUNT_BASE', '');
|
2014-07-20 14:09:41 +02:00
|
|
|
|
|
|
|
// LDAP query pattern to use when searching for a user account
|
|
|
|
// Example for ActiveDirectory: '(&(objectClass=user)(sAMAccountName=%s))'
|
|
|
|
// Example for OpenLDAP: 'uid=%s'
|
2014-10-22 21:21:37 +02:00
|
|
|
define('LDAP_USER_PATTERN', '');
|
2014-07-20 14:09:41 +02:00
|
|
|
|
|
|
|
// Name of an attribute of the user account object which should be used as the full name of the user.
|
2014-10-22 21:21:37 +02:00
|
|
|
define('LDAP_ACCOUNT_FULLNAME', 'displayname');
|
2014-07-20 14:09:41 +02:00
|
|
|
|
|
|
|
// Name of an attribute of the user account object which should be used as the email of the user.
|
|
|
|
define('LDAP_ACCOUNT_EMAIL', 'mail');
|
|
|
|
|
|
|
|
// Enable/disable Google authentication
|
|
|
|
define('GOOGLE_AUTH', false);
|
|
|
|
|
|
|
|
// Google client id (Get this value from the Google developer console)
|
|
|
|
define('GOOGLE_CLIENT_ID', '');
|
|
|
|
|
|
|
|
// Google client secret key (Get this value from the Google developer console)
|
|
|
|
define('GOOGLE_CLIENT_SECRET', '');
|
|
|
|
|
|
|
|
// Enable/disable GitHub authentication
|
|
|
|
define('GITHUB_AUTH', false);
|
|
|
|
|
|
|
|
// GitHub client id (Copy it from your settings -> Applications -> Developer applications)
|
|
|
|
define('GITHUB_CLIENT_ID', '');
|
|
|
|
|
|
|
|
// GitHub client secret key (Copy it from your settings -> Applications -> Developer applications)
|
|
|
|
define('GITHUB_CLIENT_SECRET', '');
|
2014-10-22 21:21:37 +02:00
|
|
|
|
|
|
|
// Enable/disable the reverse proxy authentication
|
|
|
|
define('REVERSE_PROXY_AUTH', true);
|
|
|
|
|
|
|
|
// 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', 'yuno_admin');
|
|
|
|
|
|
|
|
// Default domain to use for setting the email address
|
|
|
|
define('REVERSE_PROXY_DEFAULT_DOMAIN', 'yuno_domain');
|
2014-11-23 20:14:17 +01:00
|
|
|
|
|
|
|
// Enable or disable "Strict-Transport-Security" HTTP header
|
|
|
|
define('ENABLE_HSTS', true);
|