Html files and folders should not contain "_classic" to avoid problems.

This commit is contained in:
MobiusDev
2015-05-01 13:10:31 +00:00
parent 5a57ef698b
commit 0076bbafba
4 changed files with 3 additions and 3 deletions

View File

@ -115,7 +115,7 @@ public class HtmCache
}
String relpath = Util.getRelativePath(Config.DATAPACK_ROOT, file);
relpath = relpath.replace("_classic", "");
relpath = relpath.replace("_classic", ""); // html files and folders should not contain "_classic" to avoid problems.
String content = null;
try (FileInputStream fis = new FileInputStream(file);
BufferedInputStream bis = new BufferedInputStream(fis))