Support for separate Classic html folder.

This commit is contained in:
MobiusDev
2015-05-01 12:08:41 +00:00
parent d2b5c5fc4a
commit b5da915fd8
3 changed files with 15 additions and 2 deletions

View File

@ -114,7 +114,8 @@ public class HtmCache
return null;
}
final String relpath = Util.getRelativePath(Config.DATAPACK_ROOT, file);
String relpath = Util.getRelativePath(Config.DATAPACK_ROOT, file);
relpath = relpath.replace("_classic", "");
String content = null;
try (FileInputStream fis = new FileInputStream(file);
BufferedInputStream bis = new BufferedInputStream(fis))