From 7991c05b49e1a795108322c09694d48fae539825 Mon Sep 17 00:00:00 2001 From: allo Date: Thu, 22 Sep 2005 20:25:56 +0000 Subject: [PATCH] homePath instead if RootPath git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@775 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/yacy.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/source/yacy.java b/source/yacy.java index 1d14f8132..e6a3bcd57 100644 --- a/source/yacy.java +++ b/source/yacy.java @@ -253,10 +253,9 @@ public final class yacy { if (timeout < 60000) timeout = 60000; // create some directories - final File RootPath = new File(sb.getRootPath()); - final File htRootPath = new File(RootPath, sb.getConfig("htRootPath", "htroot")); - final File htDocsPath = new File(RootPath, sb.getConfig("htDocsPath", "DATA/HTDOCS")); - File htTemplatePath = new File(RootPath, sb.getConfig("htTemplatePath","htdocs")); + final File htRootPath = new File(homePath, sb.getConfig("htRootPath", "htroot")); + final File htDocsPath = new File(homePath, sb.getConfig("htDocsPath", "DATA/HTDOCS")); + File htTemplatePath = new File(homePath, sb.getConfig("htTemplatePath","htdocs")); // create default notifier picture if (!((new File(htRootPath, "env/grafics/notifier.gif")).exists())) try { @@ -377,8 +376,8 @@ public final class yacy { } //Copy the shipped locales into DATA - final File localesPath = new File(RootPath, sb.getConfig("localesPath", "DATA/LOCALE")); - final File defaultLocalesPath = new File(RootPath, "locales"); + final File localesPath = new File(homePath, sb.getConfig("localesPath", "DATA/LOCALE")); + final File defaultLocalesPath = new File(homePath, "locales"); try{ final File[] defaultLocales = defaultLocalesPath.listFiles();