summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-04-29 18:04:45 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-02 09:42:32 +0200
commit9b79aa664dcb00adf558ce6b36d7b2455134e8ee (patch)
treef14768b0df52a835c1f94fd238f82c75d52c7a36 /lib/private
parentac700506bd9d502a97fbee8635535dc03ce6eb92 (diff)
downloadnextcloud-server-9b79aa664dcb00adf558ce6b36d7b2455134e8ee.tar.gz
nextcloud-server-9b79aa664dcb00adf558ce6b36d7b2455134e8ee.zip
Move oc_config to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private')
-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 26da8fcc3c9..6ec92ef1cdd 100644
--- a/lib/private/Template/JSConfigHelper.php
+++ b/lib/private/Template/JSConfigHelper.php
@@ -231,7 +231,7 @@ class JSConfigHelper {
(string)$this->l->t('Dec.')
]),
"firstDay" => json_encode($this->l->l('firstday', null)) ,
- "oc_config" => json_encode([
+ "_oc_config" => json_encode([
'session_lifetime' => min($this->config->getSystemValue('session_lifetime', $this->iniWrapper->getNumeric('session.gc_maxlifetime')), $this->iniWrapper->getNumeric('session.gc_maxlifetime')),
'session_keepalive' => $this->config->getSystemValue('session_keepalive', true),
'version' => implode('.', \OCP\Util::getVersion()),