mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Add missing convert
This commit is contained in:
parent
3bb0fd70be
commit
40daddabbe
@ -184,13 +184,14 @@ namespace ServerConfig {
|
||||
DISASM_FALSERET;
|
||||
g_SessionTimeout = cfg.getInt("session.timeout", SESSION_TIMEOUT_DEFAULT);
|
||||
g_serverPath = cfg.getString("loginServer.path", "");
|
||||
replaceZeroIPWithLocalhostIP(g_serverPath);
|
||||
g_default_locale = LanguageManager::languageFromString(cfg.getString("loginServer.default_locale"));
|
||||
// replace 0.0.0.0 with actual server ip
|
||||
|
||||
g_php_serverPath = cfg.getString("phpServer.url", "");
|
||||
replaceZeroIPWithLocalhostIP(g_php_serverPath);
|
||||
g_php_serverHost = cfg.getString("phpServer.host", "");
|
||||
replaceZeroIPWithLocalhostIP(g_php_serverHost);
|
||||
//replaceZeroIPWithLocalhostIP(g_php_serverHost);
|
||||
/*std::string testIp = "http://0.0.0.0/account";
|
||||
replaceZeroIPWithLocalhostIP(testIp);
|
||||
printf("testIp: %s\n", testIp.data());*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user