From: Alexander Ebert Date: Thu, 21 May 2015 18:58:53 +0000 (+0200) Subject: Moved requirejs config X-Git-Tag: 3.0.0_Beta_1~2363 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=40925c54708fd89d9274b74bb3c67f0cb98468e8;p=GitHub%2FWoltLab%2FWCF.git Moved requirejs config --- diff --git a/com.woltlab.wcf/templates/headIncludeJavaScript.tpl b/com.woltlab.wcf/templates/headIncludeJavaScript.tpl index c85d941bd9..32cabd9e1c 100644 --- a/com.woltlab.wcf/templates/headIncludeJavaScript.tpl +++ b/com.woltlab.wcf/templates/headIncludeJavaScript.tpl @@ -9,6 +9,10 @@ var LANGUAGE_ID = {@$__wcf->getLanguage()->languageID}; var TIME_NOW = {@TIME_NOW}; var URL_LEGACY_MODE = {if URL_LEGACY_MODE}true{else}false{/if}; + + requirejs.config({ + baseUrl: '{@$__wcf->getPath()}js' + }); {if ENABLE_DEBUG_MODE} @@ -19,10 +23,6 @@ {/if}