diff options
Diffstat (limited to 'config.default.php')
-rw-r--r-- | config.default.php | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/config.default.php b/config.default.php index a9fd7d99..9b55295f 100644 --- a/config.default.php +++ b/config.default.php @@ -4,6 +4,9 @@ /* Rename this file to config.php if you want to change the values */ /*******************************************************************/ +// 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); @@ -11,16 +14,28 @@ define('DEBUG', false); define('LOG_DRIVER', ''); // Log filename if the log driver is "file" -define('LOG_FILE', __DIR__.DIRECTORY_SEPARATOR.'data'.DIRECTORY_SEPARATOR.'debug.log'); +define('LOG_FILE', DATA_DIR.DIRECTORY_SEPARATOR.'debug.log'); // Plugins directory define('PLUGINS_DIR', 'plugins'); -// Folder for uploaded files -define('FILES_DIR', 'data'.DIRECTORY_SEPARATOR.'files'); +// 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'); + +// Cache folder to use if cache driver is "file" (must be writeable by the web server user) +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) -define('MAIL_FROM', 'notifications@kanboard.local'); +define('MAIL_FROM', 'replace-me@kanboard.local'); // Mail transport available: "smtp", "sendmail", "mail" (PHP mail function), "postmark", "mailgun", "sendgrid" define('MAIL_TRANSPORT', 'mail'); @@ -35,6 +50,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'); @@ -187,7 +207,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 @@ -211,3 +231,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'); |