mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
bugfix for broken HTDOCS
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@938 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
4320425a17
commit
6430fa520e
|
@ -428,12 +428,6 @@ public final class httpdFileHandler extends httpdAbstractHandler implements http
|
|||
}
|
||||
}
|
||||
|
||||
if (!(targetFile.exists())) {
|
||||
// try to find that file in the htDocsPath
|
||||
File trialFile = new File(htDocsPath, path);
|
||||
if (trialFile.exists()) targetFile = trialFile;
|
||||
}
|
||||
|
||||
File targetClass = rewriteClassFile(targetFile);
|
||||
Date targetDate;
|
||||
|
||||
|
@ -488,6 +482,12 @@ public final class httpdFileHandler extends httpdAbstractHandler implements http
|
|||
path.endsWith("pac")) {
|
||||
|
||||
targetFile = getLocalizedFile(path);
|
||||
if (!(targetFile.exists())) {
|
||||
// try to find that file in the htDocsPath
|
||||
File trialFile = new File(htDocsPath, path);
|
||||
if (trialFile.exists()) targetFile = trialFile;
|
||||
}
|
||||
|
||||
|
||||
// call rewrite-class
|
||||
serverObjects tp = new serverObjects();
|
||||
|
|
Loading…
Reference in New Issue
Block a user