summaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-01-22 14:38:44 -0800
committerMichael Gapczynski <mtgap@owncloud.com>2013-01-22 14:38:44 -0800
commit9eecb913380fa2f55a8e24b9a15def241519a0de (patch)
tree7b6fc516e34c256c43d0733040f283b6601dce1e /core/js/js.js
parentec8609fa2186f03f5dde215bc7ed06f47cbe47ba (diff)
parent5136f6d818d1cb567cdedc468657fb0d0ed82f85 (diff)
downloadnextcloud-server-9eecb913380fa2f55a8e24b9a15def241519a0de.tar.gz
nextcloud-server-9eecb913380fa2f55a8e24b9a15def241519a0de.zip
Merge pull request #1113 from owncloud/fix-issue-1085
Fix rendering of database connection error page
Diffstat (limited to 'core/js/js.js')
-rw-r--r--core/js/js.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 23ace89f4e3..6241036b1b8 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -88,7 +88,7 @@ var OC={
PERMISSION_DELETE:8,
PERMISSION_SHARE:16,
webroot:oc_webroot,
- appswebroots:oc_appswebroots,
+ appswebroots:(typeof oc_appswebroots !== 'undefined') ? oc_appswebroots:false,
currentUser:(typeof oc_current_user!=='undefined')?oc_current_user:false,
coreApps:['', 'admin','log','search','settings','core','3rdparty'],
/**