fix basic config change in portal mode

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7582 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
lotus 14 years ago
parent df68bf6001
commit bbb7aea8f3

@ -178,7 +178,7 @@ public class ConfigBasic {
sb.setConfig(SwitchboardConstants.INDEX_DIST_ALLOW, true); sb.setConfig(SwitchboardConstants.INDEX_DIST_ALLOW, true);
sb.setConfig(SwitchboardConstants.INDEX_RECEIVE_ALLOW, true); sb.setConfig(SwitchboardConstants.INDEX_RECEIVE_ALLOW, true);
} }
if ("portal".equals(post.get("usecase", "")) && !"webprotal".equals(networkName)) { if ("portal".equals(post.get("usecase", "")) && !"webportal".equals(networkName)) {
// switch to webportal network // switch to webportal network
sb.switchNetwork("defaults/yacy.network.webportal.unit"); sb.switchNetwork("defaults/yacy.network.webportal.unit");
// switch to robinson mode // switch to robinson mode

Loading…
Cancel
Save