Bugfix 5.0 to old version

See http://www.yacy-forum.de/viewtopic.php?t=1064

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@609 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
borg-0300 20 years ago
parent cc1df08069
commit 904ab7aa39

@ -90,7 +90,7 @@ public class ProxyIndexingMonitor_p {
// proxyCache - check and create the directory
oldProxyCache = env.getConfig("proxyCache", "DATA/HTCACHE");
newProxyCache = ((String) post.get("proxyCache", "DATA/HTCACHE"));
newProxyCache = newProxyCache.replace("\\", "/");
newProxyCache = newProxyCache.replace('\\', '/');
if (newProxyCache.endsWith("/")) newProxyCache.substring(0, newProxyCache.length() - 1);
File cp = new File(newProxyCache);
if ((!cp.isDirectory()) && (!cp.isFile())) cp.mkdirs();

Loading…
Cancel
Save