Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CONTRIB-5545 Use absolute path for require[_once] #1

Open
wants to merge 1 commit into
base: MOODLE_28_STABLE
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion connect_class_dom.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
2 changes: 1 addition & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion participants.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down