2020-04-26 11:36:41 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace OCA\BigBlueButton\AppInfo;
|
|
|
|
|
2020-06-04 09:52:49 +02:00
|
|
|
use \OCP\AppFramework\App;
|
|
|
|
use \OCA\BigBlueButton\Middleware\JoinMiddleware;
|
|
|
|
|
2020-04-26 11:36:41 +02:00
|
|
|
if ((@include_once __DIR__ . '/../../vendor/autoload.php') === false) {
|
|
|
|
throw new \Exception('Cannot include autoload. Did you run install dependencies using composer?');
|
|
|
|
}
|
2020-06-04 09:52:49 +02:00
|
|
|
|
2020-06-19 09:28:58 +02:00
|
|
|
class Application extends App {
|
|
|
|
public function __construct(array $urlParams = []) {
|
2020-06-04 09:52:49 +02:00
|
|
|
parent::__construct('bbb', $urlParams);
|
|
|
|
|
|
|
|
$container = $this->getContainer();
|
|
|
|
|
|
|
|
$container->registerMiddleWare(JoinMiddleware::class);
|
|
|
|
}
|
|
|
|
}
|