From 40925c54708fd89d9274b74bb3c67f0cb98468e8 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 21 May 2015 20:58:53 +0200 Subject: [PATCH] Moved requirejs config --- com.woltlab.wcf/templates/headIncludeJavaScript.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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}