diff --git a/source/de/anomic/http/httpdFileHandler.java b/source/de/anomic/http/httpdFileHandler.java index 0174b237f..e58a14e8a 100644 --- a/source/de/anomic/http/httpdFileHandler.java +++ b/source/de/anomic/http/httpdFileHandler.java @@ -426,7 +426,7 @@ public final class httpdFileHandler extends httpdAbstractHandler implements http targetClass = rewriteClassFile(new File(htDefaultPath, testpath)); if (!(targetFile.exists())){ targetFile = new File(htDocsPath, testpath); - targetClass = rewriteClassFile(new File(htDocsPath, path)); + targetClass = rewriteClassFile(targetFile); } if (targetFile.exists()) { path = testpath;