From 609e002f13771a52f9bef010358c3aba74158120 Mon Sep 17 00:00:00 2001 From: DFNVC <git@vc.dfn.de> Date: Fri, 25 Oct 2019 14:00:38 +0200 Subject: [PATCH] Absoluten Pfad bei Funktion require_once verwenden. --- connect_class_dom.php | 2 +- lib.php | 2 +- locallib.php | 4 ++-- participants.php | 2 +- version.php | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/connect_class_dom.php b/connect_class_dom.php index c732c3e..b9d31c4 100644 --- a/connect_class_dom.php +++ b/connect_class_dom.php @@ -8,7 +8,7 @@ */ -require_once('connect_class.php'); +require_once($CFG->dirroot . '/mod/adobeconnect/connect_class.php'); class connect_class_dom extends connect_class { diff --git a/lib.php b/lib.php index 5e6a05a..280b268 100644 --- a/lib.php +++ b/lib.php @@ -6,7 +6,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -require_once('locallib.php'); +require_once($CFG->dirroot . '/mod/adobeconnect/locallib.php'); /** * Library of functions and constants for module adobeconnect diff --git a/locallib.php b/locallib.php index d0f3bbe..7f124df 100644 --- a/locallib.php +++ b/locallib.php @@ -7,8 +7,8 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -require_once('connect_class.php'); -require_once('connect_class_dom.php'); +require_once($CFG->dirroot . '/mod/adobeconnect/connect_class.php'); +require_once($CFG->dirroot . '/mod/adobeconnect/connect_class_dom.php'); define('ADOBE_VIEW_ROLE', 'view'); define('ADOBE_HOST_ROLE', 'host'); diff --git a/participants.php b/participants.php index efb8626..026bbee 100644 --- a/participants.php +++ b/participants.php @@ -24,7 +24,7 @@ require_once(dirname(__FILE__) . '/../../config.php'); require_once($CFG->dirroot . '/' . $CFG->admin . '/roles/lib.php'); -require_once('locallib.php'); +require_once($CFG->dirroot . '/mod/adobeconnect/locallib.php'); define("MAX_USERS_TO_LIST_PER_ROLE", 10); diff --git a/version.php b/version.php index 79519db..7da6207 100644 --- a/version.php +++ b/version.php @@ -7,7 +7,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -$plugin->version = 2019092600; // The current module version (Date: YYYYMMDDXX) +$plugin->version = 2019102500; // The current module version (Date: YYYYMMDDXX) $plugin->requires = 2014051212; // Requires this Moodle version $plugin->component = 'mod_adobeconnect'; $plugin->cron = 0; // Period for cron to check this module (secs) -- GitLab