From b5158645d503bd1d8c484001f8a41f7a52449c5f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Sat, 19 Jan 2019 13:12:36 +0100 Subject: [PATCH] Expose ENABLE_PRODUCTION_DEBUG_MODE to JavaScript in ACP see 11084ada183f7172736d790d1129725654e7f82e --- wcfsetup/install/files/acp/templates/header.tpl | 1 + 1 file changed, 1 insertion(+) 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}; -- 2.20.1