patch for broken configurations

pull/1/head
Michael Peter Christen 13 years ago
parent e5ca7f22b1
commit ea2bd43b28

@ -1012,6 +1012,7 @@ public final class Switchboard extends serverSwitch
// load network configuration into settings
String networkUnitDefinition =
getConfig("network.unit.definition", "defaults/yacy.network.freeworld.unit");
if (networkUnitDefinition.length() == 0) networkUnitDefinition = "defaults/yacy.network.freeworld.unit"; // patch for a strange failure case where the path was overwritten by empty string
// patch old values
if ( networkUnitDefinition.equals("yacy.network.unit") ) {

Loading…
Cancel
Save