aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/templatelayout.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/templatelayout.php b/lib/templatelayout.php
index 37ece91047f..a14c36c93d2 100644
--- a/lib/templatelayout.php
+++ b/lib/templatelayout.php
@@ -36,6 +36,9 @@ class OC_TemplateLayout extends OC_Template {
// Add the js files
$jsfiles = self::findJavascriptFiles(OC_Util::$scripts);
$this->assign('jsfiles', array(), false);
+ if (OC_Config::getValue('installed', false)) {
+ $this->append( 'jsfiles', OC_Helper::linkToRoute('js_config'));
+ }
if (!empty(OC_Util::$core_scripts)) {
$this->append( 'jsfiles', OC_Helper::linkToRemoteBase('core.js', false));
}