uncommented the ping functionality from FModel (yesterday site was down ping took too much time)

This commit is contained in:
Maxmtg
2012-10-07 08:54:02 +00:00
parent 25648e45c3
commit a999982d89
2 changed files with 1 additions and 5 deletions

View File

@@ -148,7 +148,7 @@ public enum FModel {
// Set gameplay preferences and constants
final HttpUtil pinger = new HttpUtil();
final String url = ForgeProps.getProperty(NewConstants.CARDFORGE_URL) + "/draftAI/ping.php";
Constant.Runtime.NET_CONN = false; // (pinger.getURL(url).equals("pong") ? true : false);
Constant.Runtime.NET_CONN = (pinger.getURL(url).equals("pong") ? true : false);
this.setBuildInfo(new BuildInfo());
FModel.loadDynamicGamedata();