/
config.php
35 lines (25 loc) · 887 Bytes
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
// BASE CONFIGS (set these to match the values from your BBB server)
/* Public test server values from Blind Side Networks:
url: http://test-install.blindsidenetworks.com/bigbluebutton/
salt: 8cd8ef52e8e101574e400365b55e11a6
*/
if($_config['bbb_salt'] =='' || !isset($_config['bbb_salt'])){
$hide_salt = file_get_contents('https://www.atutorspaces.com/include/bbb_salt.php');
$salt = $hide_salt;
} else{
$salt = $_config['bbb_salt'];
}
if($_config['bbb_url'] =='' || !isset($_config['bbb_url'])){
$url = 'http://bbb.atutorspaces.com';
} else{
$url = $_config['bbb_url'];
}
if($_config['bbb_max_recordings'] =='' || !isset($_config['bbb_max_recordings'])){
define('BBB_MAX_RECORDINGS', '0');
} else{
define('BBB_MAX_RECORDINGS', $_config['bbb_max_recordings']);
}
define("CONFIG_SECURITY_SALT", $salt);
define("CONFIG_SERVER_BASE_URL", $url."/bigbluebutton/");
?>