now opens browser to http://localhost:7657/ in all cases

This commit is contained in:
hypercubus
2004-09-01 00:33:59 +00:00
committed by zzz
parent e93a2ddd93
commit 15c089ca9c

View File

@ -41,9 +41,7 @@ public class SysTray implements SysTrayMenuListener {
_browserString = _configFile.getProperty("browser", "default"); _browserString = _configFile.getProperty("browser", "default");
_portString = _configFile.getProperty("port", "7657"); _portString = _configFile.getProperty("port", "7657");
openRouterConsole("http://localhost:" + _portString + "/");
if (!(new File("router.config")).exists())
openRouterConsole("http://localhost:" + _portString + "/config.jsp");
if (System.getProperty("os.name").startsWith("Windows")) if (System.getProperty("os.name").startsWith("Windows"))
_instance = new SysTray(); _instance = new SysTray();