diff --git a/xtrn/syncwall/syncwall.js b/xtrn/syncwall/syncwall.js index 9b66e245b884ca826538be8f4e4f457f44549dfb..805fa604862dbd5f5eda10ddd20f9934c265fb81 100644 --- a/xtrn/syncwall/syncwall.js +++ b/xtrn/syncwall/syncwall.js @@ -350,6 +350,9 @@ var initJSON = function() { f.open("r"); var ini = f.iniGetObject("JSON"); f.close(); + // services.ini normally uses "Port" rather than "port", but it's actually not case sensitive + if(ini.port == undefined && ini.Port != undefined) + ini.port = ini.Port; var host = "localhost"; var port = (ini === null) ? 10088 : Number(ini.port); }