replace ip also by host

This commit is contained in:
Dario 2020-05-12 11:11:09 +02:00
parent 773bc116c8
commit f4f0b0fa2b

View File

@ -205,6 +205,7 @@ namespace ServerConfig {
g_php_serverPath = cfg.getString("phpServer.url", "");
replaceZeroIPWithLocalhostIP(g_php_serverPath);
g_php_serverHost = cfg.getString("phpServer.host", "");
replaceZeroIPWithLocalhostIP(g_php_serverHost);
//g_ServerSetupType
auto serverSetupTypeString = cfg.getString("ServerSetupType", "");
g_ServerSetupType = getServerSetupTypeFromString(serverSetupTypeString);