mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-21 00:00:13 +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);
|
File targetClass = rewriteClassFile(targetFile);
|
||||||
Date targetDate;
|
Date targetDate;
|
||||||
|
|
||||||
|
@ -488,6 +482,12 @@ public final class httpdFileHandler extends httpdAbstractHandler implements http
|
||||||
path.endsWith("pac")) {
|
path.endsWith("pac")) {
|
||||||
|
|
||||||
targetFile = getLocalizedFile(path);
|
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
|
// call rewrite-class
|
||||||
serverObjects tp = new serverObjects();
|
serverObjects tp = new serverObjects();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user