Merge pull request #7409 from owncloud/issue/5361
Add owncloud version to JS scope
This commit is contained in:
commit
2f0db9af07
1 changed files with 4 additions and 2 deletions
|
@ -61,8 +61,10 @@ $array = array(
|
|||
"firstDay" => json_encode($l->l('firstday', 'firstday')) ,
|
||||
"oc_config" => json_encode(
|
||||
array(
|
||||
'session_lifetime' => \OCP\Config::getSystemValue('session_lifetime', ini_get('session.gc_maxlifetime')),
|
||||
'session_keepalive' => \OCP\Config::getSystemValue('session_keepalive', true)
|
||||
'session_lifetime' => \OCP\Config::getSystemValue('session_lifetime', ini_get('session.gc_maxlifetime')),
|
||||
'session_keepalive' => \OCP\Config::getSystemValue('session_keepalive', true),
|
||||
'version' => implode('.', OC_Util::getVersion()),
|
||||
'versionstring' => OC_Util::getVersionString(),
|
||||
)
|
||||
),
|
||||
"oc_defaults" => json_encode(
|
||||
|
|
Loading…
Reference in a new issue