Consolidated ASP Classic MVC framework from best components
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.
|
- <%
- Class ErrorController_Class
- Private m_useLayout
-
- Private Sub Class_Initialize()
- m_useLayout = True
- End Sub
-
- Public Property Get useLayout
- useLayout = m_useLayout
- End Property
-
- Public Property Let useLayout(v)
- m_useLayout = v
- End Property
-
- Public Sub Index()
- Response.Write "Index called"
- End Sub
-
- Public Sub NotFound()
- Response.Status = "404 Not Found"
- %>
- <!--#include file="../Views/Error/NotFound.asp" -->
- <%
- End Sub
-
- End Class
-
- Dim ErrorController_Class__Singleton
- Function ErrorController()
- If IsEmpty(ErrorController_Class__Singleton) Then
- Set ErrorController_Class__Singleton = New ErrorController_Class
- End If
- Set ErrorController = ErrorController_Class__Singleton
- End Function
- %>
|