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

@ -39,7 +39,7 @@
<br>
<table width=270>
<tr>
<td><button value="Classic Menu" action="bypass -h admin_html mobgroup_classic.htm" width=130 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td><button value="Classic Menu" action="bypass -h admin_html mobgroup_old.htm" width=130 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td><button value="Alternate Menu" action="bypass -h admin_html mobgroup.htm" width=130 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
</tr></table>
</center></body></html>

View File

@ -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

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))