fixed usage of media flag when started by automated process

pull/1/head
Michael Peter Christen 11 years ago
parent 254a7ac66c
commit a86c2fe77d

@ -264,16 +264,16 @@ public class Crawler_p {
boolean crawlingQ = "on".equals(post.get("crawlingQ", "off")); // on unchecked checkbox "crawlingQ" not contained in post
env.setConfig("crawlingQ", crawlingQ);
boolean followFrames = "on".equals(post.get("followFrames", "on"));
boolean followFrames = "on".equals(post.get("followFrames", "false"));
env.setConfig("followFrames", followFrames);
boolean obeyHtmlRobotsNoindex = "on".equals(post.get("obeyHtmlRobotsNoindex", "on"));
boolean obeyHtmlRobotsNoindex = "on".equals(post.get("obeyHtmlRobotsNoindex", "false"));
env.setConfig("obeyHtmlRobotsNoindex", obeyHtmlRobotsNoindex);
final boolean indexText = "on".equals(post.get("indexText", "on"));
final boolean indexText = "on".equals(post.get("indexText", "false"));
env.setConfig("indexText", indexText);
final boolean indexMedia = "on".equals(post.get("indexMedia", "on"));
final boolean indexMedia = "on".equals(post.get("indexMedia", "false"));
env.setConfig("indexMedia", indexMedia);
env.setConfig("storeHTCache", storeHTCache);

Loading…
Cancel
Save