From 18c841b3c0de7fbd5032784b7ce36bfd62f64335 Mon Sep 17 00:00:00 2001 From: karlchenofhell Date: Fri, 22 Dec 2006 13:37:48 +0000 Subject: [PATCH] - fix for http://www.yacy-forum.de/viewtopic.php?t=3269 [don't put 2 template-expressions back-to-back => bug?] git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3120 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/Settings_Parser.inc | 5 +++-- htroot/WatchCrawler_p.java | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/htroot/Settings_Parser.inc b/htroot/Settings_Parser.inc index 5f47a2e17..12ccf10bd 100644 --- a/htroot/Settings_Parser.inc +++ b/htroot/Settings_Parser.inc @@ -22,8 +22,9 @@ #[mimetype]#   - #{/mime}##{/parser}# - #{parserMode}# + #{/mime}# + #{/parser}# + #{parserMode}# #{/parserMode}# diff --git a/htroot/WatchCrawler_p.java b/htroot/WatchCrawler_p.java index 05cc88212..1df8c75bd 100644 --- a/htroot/WatchCrawler_p.java +++ b/htroot/WatchCrawler_p.java @@ -319,7 +319,7 @@ public class WatchCrawler_p { prop.put("crawlProfiles_"+count+"_depth", profile.generalDepth()); prop.put("crawlProfiles_"+count+"_filter", profile.generalFilter()); prop.put("crawlProfiles_"+count+"_crawlingIfOlder", (profile.recrawlIfOlder() == Long.MAX_VALUE) ? "no re-crawl" : ""+profile.recrawlIfOlder()); - prop.put("crawlProfiles_"+count+"_crawlingDomFilterDepth", (profile.domFilterDepth() == Integer.MAX_VALUE) ? "inactive" : ""+profile.domFilterDepth()); + prop.put("crawlProfiles_"+count+"_crawlingDomFilterDepth", (profile.domFilterDepth() == Integer.MAX_VALUE) ? "inactive" : Integer.toString(profile.domFilterDepth())); prop.put("crawlProfiles_"+count+"_crawlingDomFilterContent", profile.domNames(true, domlistlength)); prop.put("crawlProfiles_"+count+"_crawlingDomMaxPages", (profile.domMaxPages() == Integer.MAX_VALUE) ? "unlimited" : ""+profile.domMaxPages()); prop.put("crawlProfiles_"+count+"_withQuery", ((profile.crawlingQ()) ? 1 : 0));