mirror of
https://github.com/glest/glest-source.git
synced 2025-09-27 16:09:00 +02:00
- added ftp port # as an ini setting and added to UPNP for router auto-config
- added new language string for message box to prompt map file downloads
This commit is contained in:
@@ -95,7 +95,10 @@ ServerInterface::ServerInterface() {
|
||||
mapsPath.second = pathList[1];
|
||||
}
|
||||
}
|
||||
ftpServer = new FTPServerThread(mapsPath);
|
||||
|
||||
int portNumber = Config::getInstance().getInt("FTPServerPort",intToStr(ServerSocket::getFTPServerPort()).c_str());
|
||||
ServerSocket::setFTPServerPort(portNumber);
|
||||
ftpServer = new FTPServerThread(mapsPath,portNumber);
|
||||
ftpServer->start();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user