helpcenter/Web/App_Code/Global.cs
2021-06-07 10:21:34 +03:00

56 lines
1.1 KiB
C#

using System;
using System.Web;
using System.Net;
using System.Threading;
using System.IO;
using System.Configuration;
using ASC.Core;
using ASC.Core.Tenants;
using ASC.Data.Storage;
using log4net;
using log4net.Config;
using TeamLab;
public class Global : HttpApplication
{
public Global()
{
}
void Application_Start(object sender, EventArgs e)
{
XmlConfigurator.Configure();
DebugInfo.Init();
}
void Application_End(object sender, EventArgs e)
{
}
void Application_Error(object sender, EventArgs e)
{
}
public override string GetVaryByCustomString(HttpContext context, string custom)
{
if (custom == "ResourceBundleControl")
{
return SecureHelper.IsSecure().ToString();
}
return base.GetVaryByCustomString(context, custom);
}
void Session_Start(object sender, EventArgs e)
{
}
void Session_End(object sender, EventArgs e)
{
}
protected void Application_BeginRequest(object sender, EventArgs e)
{
}
}