Try to load config.php from /data if not available
This commit is contained in:
parent
d2f96f294a
commit
786e360d0b
|
|
@ -25,6 +25,7 @@ New features:
|
|||
* Add search query attribute for task link
|
||||
* Add the possibility to define API token in config file
|
||||
* Add capability to reopen Gitlab issues
|
||||
* Try to load config.php from /data if not available
|
||||
|
||||
Version 1.0.21
|
||||
--------------
|
||||
|
|
|
|||
|
|
@ -16,6 +16,8 @@ if (getenv('DATABASE_URL')) {
|
|||
|
||||
if (file_exists('config.php')) {
|
||||
require 'config.php';
|
||||
} elseif (file_exists('data'.DIRECTORY_SEPARATOR.'config.php')) {
|
||||
require 'data'.DIRECTORY_SEPARATOR.'config.php';
|
||||
}
|
||||
|
||||
require __DIR__.'/constants.php';
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Config file
|
||||
===========
|
||||
|
||||
You can customize the default settings of Kanboard by adding a file `config.php` at the project root.
|
||||
You can customize the default settings of Kanboard by adding a file `config.php` at the project root or in the `data` folder.
|
||||
You can also rename the file `config.default.php` to `config.php` and change the desired values.
|
||||
|
||||
Enable/Disable debug mode
|
||||
|
|
|
|||
Loading…
Reference in New Issue