From 0076bbafba390647baccb7392efd534a715a0095 Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Fri, 1 May 2015 13:10:31 +0000 Subject: [PATCH] Html files and folders should not contain "_classic" to avoid problems. --- trunk/dist/game/data/html/admin/mobgroup.htm | 2 +- .../data/html/admin/{mobgroup_classic.htm => mobgroup_old.htm} | 0 trunk/dist/game/data/html_classic/readme.txt | 2 +- trunk/java/com/l2jserver/gameserver/cache/HtmCache.java | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename trunk/dist/game/data/html/admin/{mobgroup_classic.htm => mobgroup_old.htm} (100%) diff --git a/trunk/dist/game/data/html/admin/mobgroup.htm b/trunk/dist/game/data/html/admin/mobgroup.htm index 8d2be51a55..f29005ef6c 100644 --- a/trunk/dist/game/data/html/admin/mobgroup.htm +++ b/trunk/dist/game/data/html/admin/mobgroup.htm @@ -39,7 +39,7 @@
- +
\ No newline at end of file diff --git a/trunk/dist/game/data/html/admin/mobgroup_classic.htm b/trunk/dist/game/data/html/admin/mobgroup_old.htm similarity index 100% rename from trunk/dist/game/data/html/admin/mobgroup_classic.htm rename to trunk/dist/game/data/html/admin/mobgroup_old.htm diff --git a/trunk/dist/game/data/html_classic/readme.txt b/trunk/dist/game/data/html_classic/readme.txt index ce05d058b9..ac194cfbb0 100644 --- a/trunk/dist/game/data/html_classic/readme.txt +++ b/trunk/dist/game/data/html_classic/readme.txt @@ -1,6 +1,6 @@ All files that are located in this folder will replace the ones from the html folder. -Any additional files in this folder they will work as well as if they where in the html folder. +Any additional files in this folder will work as well as if they where in the html folder. WARNING LazyCache config at General.properties must be set as False \ No newline at end of file diff --git a/trunk/java/com/l2jserver/gameserver/cache/HtmCache.java b/trunk/java/com/l2jserver/gameserver/cache/HtmCache.java index 8f3d02dd0a..1f43bedcb8 100644 --- a/trunk/java/com/l2jserver/gameserver/cache/HtmCache.java +++ b/trunk/java/com/l2jserver/gameserver/cache/HtmCache.java @@ -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))