@ -40,20 +40,28 @@ namespace Teknik
@@ -40,20 +40,28 @@ namespace Teknik
}
// Grab the sub from parameters if it exists
stringsubParam=url.RequestContext.HttpContext.Request.Params["sub"];// A subdomain specified as a query parameter takes precedence over the hostname.
stringsubParam=url.RequestContext.HttpContext.Request.QueryString["sub"];// A subdomain specified as a query parameter takes precedence over the hostname.
// If the param is not being used, we will use the curSub