Commit 609e002f13771a52f9bef010358c3aba74158120

Authored by DFNVC
1 parent d3427cfa88
Exists in master

Absoluten Pfad bei Funktion require_once verwenden.

Showing 5 changed files with 6 additions and 6 deletions Side-by-side Diff

connect_class_dom.php
... ... @@ -8,7 +8,7 @@
8 8 */
9 9  
10 10  
11   -require_once('connect_class.php');
  11 +require_once($CFG->dirroot . '/mod/adobeconnect/connect_class.php');
12 12  
13 13 class connect_class_dom extends connect_class {
14 14  
... ... @@ -6,7 +6,7 @@
6 6 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
7 7 */
8 8  
9   -require_once('locallib.php');
  9 +require_once($CFG->dirroot . '/mod/adobeconnect/locallib.php');
10 10  
11 11 /**
12 12 * Library of functions and constants for module adobeconnect
... ... @@ -7,8 +7,8 @@
7 7 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
8 8 */
9 9  
10   -require_once('connect_class.php');
11   -require_once('connect_class_dom.php');
  10 +require_once($CFG->dirroot . '/mod/adobeconnect/connect_class.php');
  11 +require_once($CFG->dirroot . '/mod/adobeconnect/connect_class_dom.php');
12 12  
13 13 define('ADOBE_VIEW_ROLE', 'view');
14 14 define('ADOBE_HOST_ROLE', 'host');
... ... @@ -24,7 +24,7 @@
24 24  
25 25 require_once(dirname(__FILE__) . '/../../config.php');
26 26 require_once($CFG->dirroot . '/' . $CFG->admin . '/roles/lib.php');
27   -require_once('locallib.php');
  27 +require_once($CFG->dirroot . '/mod/adobeconnect/locallib.php');
28 28  
29 29 define("MAX_USERS_TO_LIST_PER_ROLE", 10);
30 30  
... ... @@ -7,7 +7,7 @@
7 7 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
8 8 */
9 9  
10   -$plugin->version = 2019092600; // The current module version (Date: YYYYMMDDXX)
  10 +$plugin->version = 2019102500; // The current module version (Date: YYYYMMDDXX)
11 11 $plugin->requires = 2014051212; // Requires this Moodle version
12 12 $plugin->component = 'mod_adobeconnect';
13 13 $plugin->cron = 0; // Period for cron to check this module (secs)