You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
853B

  1. <%
  2. Response.Buffer = True
  3. Response.ContentType = "text/html"
  4. Dim oApplication
  5. Dim oClockService
  6. Dim oRequest
  7. Dim oRouter
  8. Dim oDispatcher
  9. Dim routeMatch
  10. Dim controllerKey
  11. Dim oController
  12. Dim requestFailed
  13. Dim errorDescription
  14. Dim pageTitle
  15. Dim badgeClass
  16. Dim badgeText
  17. Dim viewName
  18. requestFailed = False
  19. errorDescription = ""
  20. controllerKey = ""
  21. Set oApplication = New App
  22. Set oClockService = New ClockService
  23. Set oRequest = New HttpRequest
  24. Set oRouter = New Router
  25. Set oDispatcher = New Dispatcher
  26. %>
  27. <!--#include file="Routes.asp" -->
  28. <%
  29. ' Left switched on deliberately - Default.asp's Match/Dispatch call runs
  30. ' under this same On Error Resume Next before checking Err.Number itself.
  31. On Error Resume Next
  32. Call oRequest.Bind(Request)
  33. oApplication.RegisterInstance "clockService", oClockService
  34. oApplication.SetRequest oRequest
  35. oApplication.Boot
  36. %>

Powered by TurnKey Linux.