summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/constants.php2
-rw-r--r--config.default.php2
-rw-r--r--doc/config.markdown4
3 files changed, 3 insertions, 5 deletions
diff --git a/app/constants.php b/app/constants.php
index 218d8f78..4c22f760 100644
--- a/app/constants.php
+++ b/app/constants.php
@@ -93,7 +93,7 @@ defined('ENABLE_XFRAME') or define('ENABLE_XFRAME', true);
defined('ENABLE_SYSLOG') or define('ENABLE_SYSLOG', true);
// Default files directory
-defined('FILES_DIR') or define('FILES_DIR', 'data'.DIRECTORY_SEPARATOR.'files'.DIRECTORY_SEPARATOR);
+defined('FILES_DIR') or define('FILES_DIR', 'data'.DIRECTORY_SEPARATOR.'files');
// Escape html inside markdown text
defined('MARKDOWN_ESCAPE_HTML') or define('MARKDOWN_ESCAPE_HTML', true);
diff --git a/config.default.php b/config.default.php
index 77d45729..41f4cd03 100644
--- a/config.default.php
+++ b/config.default.php
@@ -14,7 +14,7 @@ define('DEBUG_FILE', __DIR__.DIRECTORY_SEPARATOR.'data'.DIRECTORY_SEPARATOR.'deb
define('PLUGINS_DIR', 'data'.DIRECTORY_SEPARATOR.'plugins');
// Folder for uploaded files, don't forget the trailing slash
-define('FILES_DIR', 'data'.DIRECTORY_SEPARATOR.'files'.DIRECTORY_SEPARATOR);
+define('FILES_DIR', 'data'.DIRECTORY_SEPARATOR.'files');
// E-mail address for the "From" header (notifications)
define('MAIL_FROM', 'notifications@kanboard.local');
diff --git a/doc/config.markdown b/doc/config.markdown
index b711f137..f375b2fc 100644
--- a/doc/config.markdown
+++ b/doc/config.markdown
@@ -35,11 +35,9 @@ Folder for uploaded files
-------------------------
```php
-define('FILES_DIR', 'data/files/');
+define('FILES_DIR', 'data/files');
```
-Don't forget the trailing slash.
-
Enable/disable url rewrite
--------------------------