fix for notifer.gif appearance

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@506 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 20 years ago
parent ec07928807
commit 60eaf3dcde

@ -254,9 +254,9 @@ public final class yacy {
File htTemplatePath = new File(sb.getRootPath(), sb.getConfig("htTemplatePath","htdocs"));
// create default notifier picture
if (!((new File(htRootPath, "env/pictures/notifier.gif")).exists())) try {
serverFileUtils.copy(new File(htRootPath, "env/pictures/empty.gif"),
new File(htRootPath, "env/pictures/notifier.gif"));
if (!((new File(htRootPath, "env/grafics/notifier.gif")).exists())) try {
serverFileUtils.copy(new File(htRootPath, "env/grafics/empty.gif"),
new File(htRootPath, "env/grafics/notifier.gif"));
} catch (IOException e) {}
if (!(htDocsPath.exists())) htDocsPath.mkdir();

Loading…
Cancel
Save