diff --git a/connect_class_dom.php b/connect_class_dom.php index 4cae728..bdf4a14 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 6be6d2a..cb7bee3 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 67c4c65..3957019 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 9532fbf..6022850 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);