Set db type to mysql if mysql is enabled.
This commit is contained in:
parent
4471ee208d
commit
8e4e2368af
|
@ -207,6 +207,7 @@ public class Config extends Language {
|
|||
if (this.has("use-mysql") && this.getBoolean("use-mysql")) {
|
||||
// legacy configuration has mysql enabled
|
||||
this.DB_TYPE = DatabaseType.MYSQL;
|
||||
DEFAULT_VALUES.put("db-type", DatabaseType.MYSQL.toString().toLowerCase(Locale.ROOT));
|
||||
}
|
||||
this.DB_PREFIX = this.getString("table-prefix");
|
||||
this.DB_HOST = this.getString("db-host");
|
||||
|
|
Loading…
Reference in New Issue