diff options
Diffstat (limited to 'config.default.php')
-rw-r--r-- | config.default.php | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/config.default.php b/config.default.php index b9dc8d77..1f08fbad 100644 --- a/config.default.php +++ b/config.default.php @@ -4,8 +4,8 @@ /* Rename this file to config.php if you want to change the values */ /*******************************************************************/ -// Data folder (must be writeable by the web server user) -define('DATA_DIR', 'data'); +// Data folder (must be writeable by the web server user and absolute) +define('DATA_DIR', __DIR__.DIRECTORY_SEPARATOR.'data'); // Enable/Disable debug define('DEBUG', false); @@ -19,6 +19,12 @@ define('LOG_FILE', DATA_DIR.DIRECTORY_SEPARATOR.'debug.log'); // Plugins directory define('PLUGINS_DIR', 'plugins'); +// Plugins directory URL +define('PLUGIN_API_URL', 'https://kanboard.net/plugins.json'); + +// Enable/Disable plugin installer +define('PLUGIN_INSTALLER', true); + // Available cache drivers are "file" and "memory" define('CACHE_DRIVER', 'memory'); @@ -28,7 +34,10 @@ define('CACHE_DIR', DATA_DIR.DIRECTORY_SEPARATOR.'cache'); // Folder for uploaded files (must be writeable by the web server user) define('FILES_DIR', DATA_DIR.DIRECTORY_SEPARATOR.'files'); -// E-mail address for the "From" header (notifications) +// Enable/disable email configuration from the user interface +define('MAIL_CONFIGURATION', true); + +// E-mail address used for the "From" header (notifications) define('MAIL_FROM', 'replace-me@kanboard.local'); // Mail transport available: "smtp", "sendmail", "mail" (PHP mail function), "postmark", "mailgun", "sendgrid" @@ -44,6 +53,11 @@ define('MAIL_SMTP_ENCRYPTION', null); // Valid values are "null", "ssl" or "tls" // Sendmail command to use when the transport is "sendmail" define('MAIL_SENDMAIL_COMMAND', '/usr/sbin/sendmail -bs'); +// Run automatically database migrations +// If set to false, you will have to run manually the SQL migrations from the CLI during the next Kanboard upgrade +// Do not run the migrations from multiple processes at the same time (example: web page + background worker) +define('DB_RUN_MIGRATIONS', true); + // Database driver: sqlite, mysql or postgres (sqlite by default) define('DB_DRIVER', 'sqlite'); @@ -196,7 +210,7 @@ define('ENABLE_URL_REWRITE', false); // Hide login form, useful if all your users use Google/Github/ReverseProxy authentication define('HIDE_LOGIN_FORM', false); -// Disabling logout (for external SSO authentication) +// Disabling logout (useful for external SSO authentication) define('DISABLE_LOGOUT', false); // Enable captcha after 3 authentication failure @@ -220,3 +234,6 @@ define('HTTP_PROXY_PASSWORD', ''); // Set to false to allow self-signed certificates define('HTTP_VERIFY_SSL_CERTIFICATE', true); + +// TOTP (2FA) issuer name +define('TOTP_ISSUER', 'Kanboard'); |