using System;
using System.Web;
using umbraco.presentation.LiveEditing;
using umbraco.BasePages;
using umbraco.cms.businesslogic.web;
namespace umbraco.presentation
{
public class UmbracoRequest : HttpRequestWrapper
{
public UmbracoRequest(HttpRequest request) : base(request)
{
}
///
/// Gets a value indicating whether the request has debugging enabled
///
/// true if this instance is debug; otherwise, false.
public bool IsDebug
{
get
{
return GlobalSettings.DebugMode && (!string.IsNullOrEmpty(this["umbdebugshowtrace"]) || !string.IsNullOrEmpty(this["umbdebug"]));
}
}
}
}