Merge pull request #7409 from owncloud/issue/5361
Add owncloud version to JS scope
This commit is contained in:
commit
2f0db9af07
|
@ -62,7 +62,9 @@ $array = array(
|
|||
"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_keepalive' => \OCP\Config::getSystemValue('session_keepalive', true),
|
||||
'version' => implode('.', OC_Util::getVersion()),
|
||||
'versionstring' => OC_Util::getVersionString(),
|
||||
)
|
||||
),
|
||||
"oc_defaults" => json_encode(
|
||||
|
|
Loading…
Reference in New Issue