Profiler can be enabled via config file.

This commit is contained in:
Mark McDowall 2011-12-13 18:31:20 -08:00
commit 28259bc254
5 changed files with 29 additions and 2 deletions

View file

@ -62,6 +62,12 @@ namespace NzbDrone.Common
set { SetValue("AuthenticationType", (int)value); }
}
public virtual bool EnableProfiler
{
get { return GetValueBoolean("EnableProfiler", false); }
set { SetValue("EnableProfiler", value); }
}
public virtual int GetValueInt(string key, int defaultValue)
{
return Convert.ToInt32(GetValue(key, defaultValue));