summaryrefslogtreecommitdiffstats
path: root/lib/templatelayout.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-02-07 13:48:44 -0800
committerLukas Reschke <lukas@statuscode.ch>2013-02-07 13:48:44 -0800
commit217328e0e3656f0068b3e41ebc4cdc32b79f3fe4 (patch)
treecdfe0e664e8640610e719724ea32670e30134684 /lib/templatelayout.php
parent867650ee474e5b7318056c0f3b01985dbd8c8cd1 (diff)
parenta82d18d2f8e13edab296daaf2bda917381e78810 (diff)
downloadnextcloud-server-217328e0e3656f0068b3e41ebc4cdc32b79f3fe4.tar.gz
nextcloud-server-217328e0e3656f0068b3e41ebc4cdc32b79f3fe4.zip
Merge pull request #1514 from owncloud/fix-setup
Fix setup
Diffstat (limited to 'lib/templatelayout.php')
-rw-r--r--lib/templatelayout.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/templatelayout.php b/lib/templatelayout.php
index 28bdca6be0a..345f540af04 100644
--- a/lib/templatelayout.php
+++ b/lib/templatelayout.php
@@ -39,6 +39,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));
}