aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Template/JSConfigHelper.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-07 09:03:14 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-07 14:03:14 +0200
commitacf0ca15414fa17ae5ccc2a7d123f83cf5a2192d (patch)
treed68fb69b753a47357df30a24458dbf3b0e932e7b /lib/private/Template/JSConfigHelper.php
parent22f3306fd0d4f782ba415ef8220f077e293eb655 (diff)
downloadnextcloud-server-acf0ca15414fa17ae5ccc2a7d123f83cf5a2192d.tar.gz
nextcloud-server-acf0ca15414fa17ae5ccc2a7d123f83cf5a2192d.zip
Move OC.appswebroots to the bundle and deprecate oc_appswebroots
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/Template/JSConfigHelper.php')
-rw-r--r--lib/private/Template/JSConfigHelper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Template/JSConfigHelper.php b/lib/private/Template/JSConfigHelper.php
index ee049533bbb..e1770ec73c2 100644
--- a/lib/private/Template/JSConfigHelper.php
+++ b/lib/private/Template/JSConfigHelper.php
@@ -171,7 +171,7 @@ class JSConfigHelper {
"backendAllowsPasswordConfirmation" => $userBackendAllowsPasswordConfirmation ? 'true' : 'false',
"oc_dataURL" => is_string($dataLocation) ? "\"".$dataLocation."\"" : 'false',
"_oc_webroot" => "\"".\OC::$WEBROOT."\"",
- "oc_appswebroots" => str_replace('\\/', '/', json_encode($apps_paths)), // Ugly unescape slashes waiting for better solution
+ "_oc_appswebroots" => str_replace('\\/', '/', json_encode($apps_paths)), // Ugly unescape slashes waiting for better solution
"datepickerFormatDate" => json_encode($this->l->l('jsdate', null)),
'nc_lastLogin' => $lastConfirmTimestamp,
'nc_pageLoad' => time(),