1
1
mirror of https://github.com/geekfrog/PermissionsTime.git synced 2024-11-25 09:58:50 +00:00
This commit is contained in:
GeekFrog 2017-07-16 19:10:11 +08:00
parent cf02fe552c
commit 62c23c7dc4

View File

@ -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_");
} }
}
} }