Fixed spelling of enviroment provider (Environment). :)

This commit is contained in:
Mark McDowall 2012-03-06 18:59:43 -08:00
commit a00c20c1af
53 changed files with 245 additions and 245 deletions

View file

@ -70,7 +70,7 @@ namespace NzbDrone.Web.App_Start
// so authenticated users are always profiled
//if (request.IsLocal) { MiniProfiler.Start(); }
if (!EnviromentProvider.IsProduction || ProfilerHelper.Enabled())
if (!EnvironmentProvider.IsProduction || ProfilerHelper.Enabled())
{
var requestPath = ((HttpApplication)sender).Request.AppRelativeCurrentExecutionFilePath.ToLower();
if (!requestPath.StartsWith("~/signalr") && !requestPath.EndsWith("notification/comet"))