Commit e07218ea authored by Denis Bonnenfant's avatar Denis Bonnenfant
Browse files

2.10

parent 6d0dc3a9
{
"name": "sambaedu/bigbluebutton-api-php",
"type": "library",
"description": "BigBlueButton PHP API Library for PHP",
"keywords": [
"bigbluebutton",
"bbb",
"api"
],
"homepage": "http://bigbluebutton.org/",
"license": "GPL-3.0",
"authors": [
{
"name": "Ghazi Triki",
"email": "ghazi.nocturne@gmail.com",
"role": "Developer"
}
],
"repositories": {
"packagist": {
"url": "https://packagist.org",
"type": "composer"
}
},
"require": {
"php": ">=5.4",
"ext-curl": "*",
"ext-simplexml": "*",
"ext-mbstring": "*"
},
"require-dev": {
"php": ">=7.0",
"ext-mbstring": "*",
"composer/composer": "1.7.*@dev",
"phpunit/phpunit": "6.*",
"fzaninotto/faker": "~1.8.0",
"friendsofphp/php-cs-fixer": "2.*",
"squizlabs/php_codesniffer": "3.*",
"php-coveralls/php-coveralls": "2.1.*"
},
"autoload": {
"psr-4": {
"BigBlueButton\\": "src"
}
}
}
"name" : "sambaedu/bigbluebutton-api-php",
"type" : "library",
"description" : "BigBlueButton PHP API Library for PHP",
"keywords" : [
"bigbluebutton",
"bbb",
"api"
],
"homepage" : "http://bigbluebutton.org/",
"license" : "GPL-3.0",
"authors" : [{
"name" : "Ghazi Triki",
"email" : "ghazi.nocturne@gmail.com",
"role" : "Developer"
}
],
"require" : {
"php" : ">=5.4",
"ext-curl" : "*",
"ext-simplexml" : "*",
"ext-mbstring" : "*"
},
"require-dev" : {
"php" : ">=7.0",
"ext-mbstring" : "*",
"composer/composer" : "1.7.*@dev",
"phpunit/phpunit" : "6.*",
"fzaninotto/faker" : "~1.8.0",
"friendsofphp/php-cs-fixer" : "2.*",
"squizlabs/php_codesniffer" : "3.*",
"php-coveralls/php-coveralls" : "2.1.*"
},
"autoload" : {
"psr-4" : {
"BigBlueButton\\" : "src"
}
}
}
\ No newline at end of file
......@@ -60,12 +60,13 @@ class BigBlueButton
protected $urlBuilder;
protected $jSessionId;
public function __construct()
public function __construct($curlopts)
{
// 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 = $curlopts;
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment