From: Tim Düsterhus Date: Sat, 19 Jan 2019 12:12:36 +0000 (+0100) Subject: Expose ENABLE_PRODUCTION_DEBUG_MODE to JavaScript in ACP X-Git-Tag: 5.2.0_Alpha_1~354 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b5158645d503bd1d8c484001f8a41f7a52449c5f;p=GitHub%2FWoltLab%2FWCF.git Expose ENABLE_PRODUCTION_DEBUG_MODE to JavaScript in ACP see 11084ada183f7172736d790d1129725654e7f82e --- diff --git a/wcfsetup/install/files/acp/templates/header.tpl b/wcfsetup/install/files/acp/templates/header.tpl index bafdb5ad74..4efa3f5cdb 100644 --- a/wcfsetup/install/files/acp/templates/header.tpl +++ b/wcfsetup/install/files/acp/templates/header.tpl @@ -40,6 +40,7 @@ var LAST_UPDATE_TIME = {@LAST_UPDATE_TIME}; var URL_LEGACY_MODE = false; var ENABLE_DEBUG_MODE = {if ENABLE_DEBUG_MODE}true{else}false{/if}; + var ENABLE_PRODUCTION_DEBUG_MODE = {if ENABLE_PRODUCTION_DEBUG_MODE}true{else}false{/if}; var ENABLE_DEVELOPER_TOOLS = {if ENABLE_DEVELOPER_TOOLS}true{else}false{/if}; var WSC_API_VERSION = {@WSC_API_VERSION};