Expose ENABLE_PRODUCTION_DEBUG_MODE to JavaScript in ACP
authorTim Düsterhus <duesterhus@woltlab.com>
Sat, 19 Jan 2019 12:12:36 +0000 (13:12 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Sat, 19 Jan 2019 12:14:15 +0000 (13:14 +0100)
see 11084ada183f7172736d790d1129725654e7f82e

wcfsetup/install/files/acp/templates/header.tpl

index bafdb5ad740c2a64cef79455d79a7c2ebd9c3b79..4efa3f5cdb97b171faaf1c43d5871027882f3dc5 100644 (file)
@@ -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};