diff --git a/NzbDrone.Web/App_Start/MiniProfiler.cs b/NzbDrone.Web/App_Start/MiniProfiler.cs index 11f7c4410..4639ee3a1 100644 --- a/NzbDrone.Web/App_Start/MiniProfiler.cs +++ b/NzbDrone.Web/App_Start/MiniProfiler.cs @@ -10,11 +10,8 @@ using Microsoft.Web.Infrastructure.DynamicModuleHelper; //using MvcMiniProfiler.Data.Linq2Sql; -[assembly: WebActivator.PreApplicationStartMethod( - typeof(NzbDrone.Web.App_Start.MiniProfilerPackage), "PreStart")] - -[assembly: WebActivator.PostApplicationStartMethod( - typeof(NzbDrone.Web.App_Start.MiniProfilerPackage), "PostStart")] +[assembly: WebActivator.PreApplicationStartMethod(typeof(NzbDrone.Web.App_Start.MiniProfilerPackage), "PreStart")] +[assembly: WebActivator.PostApplicationStartMethod(typeof(NzbDrone.Web.App_Start.MiniProfilerPackage), "PostStart")] namespace NzbDrone.Web.App_Start @@ -65,10 +62,11 @@ namespace NzbDrone.Web.App_Start { context.BeginRequest += (sender, e) => { - var request = ((HttpApplication)sender).Request; + //var request = ((HttpApplication)sender).Request; //TODO: By default only local requests are profiled, optionally you can set it up // so authenticated users are always profiled - if (request.IsLocal) { MiniProfiler.Start(); } + //if (request.IsLocal) { MiniProfiler.Start(); } + MiniProfiler.Start(); }; diff --git a/NzbDrone.Web/Content/NzbDrone.css b/NzbDrone.Web/Content/NzbDrone.css index 7da25824f..c461d9b54 100644 --- a/NzbDrone.Web/Content/NzbDrone.css +++ b/NzbDrone.Web/Content/NzbDrone.css @@ -18,6 +18,7 @@ body width: 85%; margin-left: auto; min-width: 800px; + max-width: 1400px; } h1, h2, h3, h4, h5, h6