* Router: Support i2p.dir.base and i2p.dir.config passed in via properties

This commit is contained in:
zzz
2009-07-24 15:35:58 +00:00
parent 2f0b9a8f94
commit f6ec3f66f8
2 changed files with 16 additions and 6 deletions

View File

@ -137,7 +137,7 @@ public class Router {
// Do we copy all the data files to the new directory? default false
String migrate = System.getProperty("i2p.dir.migrate");
boolean migrateFiles = Boolean.valueOf(migrate).booleanValue();
String userDir = WorkingDir.getWorkingDir(migrateFiles);
String userDir = WorkingDir.getWorkingDir(envProps, migrateFiles);
// Use the router.config file specified in the router.configLocation property
// (default "router.config"),