Html files and folders should not contain "_classic" to avoid problems.
This commit is contained in:
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>
|
<br>
|
||||||
<table width=270>
|
<table width=270>
|
||||||
<tr>
|
<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>
|
<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>
|
</tr></table>
|
||||||
</center></body></html>
|
</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.
|
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
|
WARNING
|
||||||
LazyCache config at General.properties must be set as False
|
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);
|
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;
|
String content = null;
|
||||||
try (FileInputStream fis = new FileInputStream(file);
|
try (FileInputStream fis = new FileInputStream(file);
|
||||||
BufferedInputStream bis = new BufferedInputStream(fis))
|
BufferedInputStream bis = new BufferedInputStream(fis))
|
||||||
|
Reference in New Issue
Block a user