Html files and folders should not contain "_classic" to avoid problems.
This commit is contained in:
parent
5a57ef698b
commit
0076bbafba
2
trunk/dist/game/data/html/admin/mobgroup.htm
vendored
2
trunk/dist/game/data/html/admin/mobgroup.htm
vendored
@ -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>
|
2
trunk/dist/game/data/html_classic/readme.txt
vendored
2
trunk/dist/game/data/html_classic/readme.txt
vendored
@ -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
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user