X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=src%2Forg%2Fcacert%2Fgigi%2FGigi.java;h=209175ab157fe4b8b3ed569f7c246579423341c8;hp=b7605e876373d4d1637375a29acda736559da3ed;hb=a0232b6e40e7e09767f0444d24e18bf12dafc362;hpb=851b2db2211e0f7770065dc4558cc0de74a39df4 diff --git a/src/org/cacert/gigi/Gigi.java b/src/org/cacert/gigi/Gigi.java index b7605e87..209175ab 100644 --- a/src/org/cacert/gigi/Gigi.java +++ b/src/org/cacert/gigi/Gigi.java @@ -156,6 +156,13 @@ public class Gigi extends HttpServlet { putPage(UserTrainings.SUPPORT_PATH, new UserTrainings(true), null); putPage(PasswordResetPage.PATH, new PasswordResetPage(), null); + putPage("/dbs", new Page("Database set") { + + @Override + public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException { + DatabaseConnection.getInstance().lockedStatements(resp.getWriter()); + } + }, "Database set"); if (testing) { try {