Adding $course_plugin variable that will load the plugin lang variables

skala
Julio Montoya 14 years ago
parent eba2c1c6c9
commit 358196866c
  1. 4
      plugin/bbb/listing.php
  2. 4
      plugin/bbb/start.php

@ -7,10 +7,8 @@
* Initialization
*/
$course_plugin = 'bbb';
$course_plugin = 'bbb'; //needed in order to load the plugin lang variables
require_once 'config.php';
$tool_name = get_lang('Videoconference');
$tpl = new Template($tool_name);

@ -6,11 +6,11 @@
/**
* Initialization
*/
require_once 'config.php';
$course_plugin = 'bbb'; //needed in order to load the plugin lang variables
require_once 'config.php';
$tool_name = get_lang('Videoconference');
$tpl = new Template($tool_name);
$bbb = new bbb();
if ($bbb) {

Loading…
Cancel
Save