Plugin: BBB: Fix previous commit 047c5049fe as should remain different from >url

pull/3213/head^2
Yannick Warnier 6 years ago
parent 99331b3bc3
commit 6d1f8378f2
  1. 4
      plugin/bbb/lib/bbb.lib.php

@ -112,12 +112,12 @@ class bbb
if (substr($bbb_host, -1, 1) !== '/') {
$bbb_host .= '/';
}
$this->url = $bbb_host;
if (!preg_match('#/bigbluebutton/$#', $bbb_host)) {
$bbb_host .= 'bigbluebutton/';
$this->url = $bbb_host.'bigbluebutton/';
}
}
$info = parse_url($bbb_host);
$this->url = $bbb_host;
if (isset($info['scheme'])) {
$this->protocol = $info['scheme'].'://';

Loading…
Cancel
Save