Add config parameter for custom database port
This commit is contained in:
@@ -79,6 +79,7 @@ class DatabaseProvider implements ServiceProviderInterface
|
||||
'password' => DB_PASSWORD,
|
||||
'database' => DB_NAME,
|
||||
'charset' => 'utf8',
|
||||
'port' => DB_PORT,
|
||||
));
|
||||
}
|
||||
|
||||
@@ -97,6 +98,7 @@ class DatabaseProvider implements ServiceProviderInterface
|
||||
'username' => DB_USERNAME,
|
||||
'password' => DB_PASSWORD,
|
||||
'database' => DB_NAME,
|
||||
'port' => DB_PORT,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,6 +21,7 @@ defined('DB_USERNAME') or define('DB_USERNAME', 'root');
|
||||
defined('DB_PASSWORD') or define('DB_PASSWORD', '');
|
||||
defined('DB_HOSTNAME') or define('DB_HOSTNAME', 'localhost');
|
||||
defined('DB_NAME') or define('DB_NAME', 'kanboard');
|
||||
defined('DB_PORT') or define('DB_PORT', null);
|
||||
|
||||
// LDAP configuration
|
||||
defined('LDAP_AUTH') or define('LDAP_AUTH', false);
|
||||
|
||||
Reference in New Issue
Block a user