mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
Merge branch 'MDL-56726-master-cfgadmin' of git://github.com/mudrd8mz/moodle
This commit is contained in:
commit
55a3911408
@ -24,7 +24,7 @@
|
||||
|
||||
require_once(__DIR__ . '/../../../config.php');
|
||||
require_once($CFG->libdir.'/adminlib.php');
|
||||
require_once($CFG->dirroot . '/admin/tool/monitor/lib.php');
|
||||
require_once($CFG->dirroot.'/'.$CFG->admin.'/tool/monitor/lib.php');
|
||||
|
||||
$courseid = optional_param('courseid', 0, PARAM_INT);
|
||||
$action = optional_param('action', '', PARAM_ALPHA);
|
||||
|
@ -22,6 +22,7 @@
|
||||
*/
|
||||
|
||||
// NOTE: no MOODLE_INTERNAL test here, this file may be required by behat before including /config.php.
|
||||
// For that reason, we can't even rely on $CFG->admin being available here.
|
||||
|
||||
require_once(__DIR__ . '/../../../../admin/tests/behat/behat_admin.php');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user