Skip to content

Commit

Permalink
fixed problem with broken notifier image, occurred only at initial st…
Browse files Browse the repository at this point in the history
…art-up

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3497 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
orbiter committed Mar 21, 2007
1 parent 40ce33e commit beb772d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/yacy.java
Expand Up @@ -320,6 +320,7 @@ private static void startup(String homePath, long startupMemFree, long startupMe
// create some directories
final File htRootPath = new File(homePath, sb.getConfig("htRootPath", "htroot"));
final File htDocsPath = new File(homePath, sb.getConfig("htDocsPath", "DATA/HTDOCS"));
if (!(htDocsPath.exists())) htDocsPath.mkdir();
//final File htTemplatePath = new File(homePath, sb.getConfig("htTemplatePath","htdocs"));

// create default notifier picture
Expand All @@ -329,7 +330,6 @@ private static void startup(String homePath, long startupMemFree, long startupMe
new File(htDocsPath, "notifier.gif"));
} catch (IOException e) {}

if (!(htDocsPath.exists())) htDocsPath.mkdir();
final File htdocsDefaultReadme = new File(htDocsPath, "readme.txt");
if (!(htdocsDefaultReadme.exists())) try {serverFileUtils.write((
"This is your root directory for individual Web Content\r\n" +
Expand Down

0 comments on commit beb772d

Please sign in to comment.