summaryrefslogtreecommitdiff
path: root/config.default.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-08-22 21:48:27 -0400
committerFrederic Guillot <fred@kanboard.net>2016-08-22 21:48:27 -0400
commite2a9440c927f9ca698daf42990eead1f6a15a997 (patch)
tree79e761465071deb2cffcc73a275a5d152c0fe0f7 /config.default.php
parent51fef80f7d0358583dd474789a87a972a61a3ac0 (diff)
Fix undefined constant in config example file
Diffstat (limited to 'config.default.php')
-rw-r--r--config.default.php13
1 files changed, 11 insertions, 2 deletions
diff --git a/config.default.php b/config.default.php
index d0e93a8e..b9dc8d77 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)
+define('DATA_DIR', 'data');
+
// Enable/Disable debug
define('DEBUG', false);
@@ -14,9 +17,15 @@ define('LOG_DRIVER', '');
define('LOG_FILE', DATA_DIR.DIRECTORY_SEPARATOR.'debug.log');
// Plugins directory
-define('PLUGINS_DIR', ROOT_DIR.DIRECTORY_SEPARATOR.'plugins');
+define('PLUGINS_DIR', 'plugins');
+
+// 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
+// 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)