Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
denis bonnenfant
bigbluebutton-api-php
Commits
b50035c2
Commit
b50035c2
authored
Nov 02, 2020
by
Denis Bonnenfant
Browse files
pass curl options
parent
e07218ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/BigBlueButton.php
View file @
b50035c2
...
...
@@ -60,13 +60,13 @@ class BigBlueButton
protected
$urlBuilder
;
protected
$jSessionId
;
public
function
__construct
(
$
curl
opts
)
public
function
__construct
(
$opts
=
[]
)
{
// Keeping backward compatibility with older deployed versions
$this
->
securitySecret
=
(
getenv
(
'BBB_SECURITY_SALT'
)
===
false
)
?
getenv
(
'BBB_SECRET'
)
:
$this
->
securitySecret
=
getenv
(
'BBB_SECURITY_SALT'
);
$this
->
bbbServerBaseUrl
=
getenv
(
'BBB_SERVER_BASE_URL'
);
$this
->
urlBuilder
=
new
UrlBuilder
(
$this
->
securitySecret
,
$this
->
bbbServerBaseUrl
);
$this
->
curlopts
=
$
curl
opts
;
$this
->
curlopts
=
$opts
[
'curl'
]
??
[]
;
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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