HAPPENED
This commit is contained in:
ayunami2000 2022-04-17 23:06:23 -04:00
parent 16ee5378ad
commit 2117cf7041

View File

@ -93,7 +93,6 @@ public class AbstractServlet extends HttpServlet
String base = HTTPDModule.template; String base = HTTPDModule.template;
String page = readFileReal(filename); String page = readFileReal(filename);
String[] info = page.split("\n", 3); String[] info = page.split("\n", 3);
System.out.println(Arrays.toString(info));
base = base.replace("${TITLE}", info[0]); base = base.replace("${TITLE}", info[0]);
base = base.replace("${ACTIVE_" + info[1] + "}", "active\" aria-current=\"page"); base = base.replace("${ACTIVE_" + info[1] + "}", "active\" aria-current=\"page");
base = base.replace("${ACTIVE_HOME}", ""); base = base.replace("${ACTIVE_HOME}", "");