diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-10-24 18:04:18 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-10-24 18:04:18 -0400 |
commit | 1fed12e353bed19a0f7ab1167048ab982a100b58 (patch) | |
tree | 74c5f5cda11d05714ec914fbd710530245033fed | |
parent | 58759f1dfcc516152b6eeb4e223dd3b6c5eb4c39 (diff) |
Remove trailing slash for FILES_DIR
-rw-r--r-- | app/constants.php | 2 | ||||
-rw-r--r-- | config.default.php | 2 | ||||
-rw-r--r-- | doc/config.markdown | 4 |
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 -------------------------- |