Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
2817eecf
Commit
2817eecf
authored
Aug 24, 2015
by
Morris Jobke
Browse files
Fix regression
* fixes #18529
parent
1f749782
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/js/config.php
View file @
2817eecf
...
...
@@ -62,7 +62,7 @@ if ($defaultExpireDateEnabled) {
$outgoingServer2serverShareEnabled
=
$config
->
getAppValue
(
'files_sharing'
,
'outgoing_server2server_share_enabled'
,
'yes'
)
===
'yes'
;
$array
=
array
(
"oc_debug"
=>
$config
->
getSystemValue
(
'debug'
,
false
),
"oc_debug"
=>
$config
->
getSystemValue
(
'debug'
,
false
)
?
'true'
:
'false'
,
"oc_isadmin"
=>
OC_User
::
isAdminUser
(
OC_User
::
getUser
())
?
'true'
:
'false'
,
"oc_webroot"
=>
"
\"
"
.
OC
::
$WEBROOT
.
"
\"
"
,
"oc_appswebroots"
=>
str_replace
(
'\\/'
,
'/'
,
json_encode
(
$apps_paths
)),
// Ugly unescape slashes waiting for better solution
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment