mirror of
https://github.com/geekfrog/PermissionsTime.git
synced 2024-11-22 07:28:47 +00:00
fix bug
This commit is contained in:
parent
cf02fe552c
commit
62c23c7dc4
@ -50,7 +50,6 @@ public class PluginCfg extends PluginConfig {
|
|||||||
IS_METRICS = setGetDefault("metrics", true);
|
IS_METRICS = setGetDefault("metrics", true);
|
||||||
LANG = setGetDefault("lang", "de");
|
LANG = setGetDefault("lang", "de");
|
||||||
USE_MYSQL = setGetDefault("mysql.enable", false);
|
USE_MYSQL = setGetDefault("mysql.enable", false);
|
||||||
if (USE_MYSQL) {
|
|
||||||
SQL_SERVER_ID = setGetDefault("mysql.serverId", "default");
|
SQL_SERVER_ID = setGetDefault("mysql.serverId", "default");
|
||||||
SQL_HOSTNAME = setGetDefault("mysql.hostname", "localhost");
|
SQL_HOSTNAME = setGetDefault("mysql.hostname", "localhost");
|
||||||
SQL_PORT = setGetDefault("mysql.port", 3306);
|
SQL_PORT = setGetDefault("mysql.port", 3306);
|
||||||
@ -59,6 +58,5 @@ public class PluginCfg extends PluginConfig {
|
|||||||
SQL_PASSWORD = setGetDefault("mysql.password", "123456");
|
SQL_PASSWORD = setGetDefault("mysql.password", "123456");
|
||||||
SQL_TABLE_PREFIX = setGetDefault("mysql.tablePrefix", "pt_");
|
SQL_TABLE_PREFIX = setGetDefault("mysql.tablePrefix", "pt_");
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user