mirror of
https://github.com/moodle/moodle.git
synced 2025-03-18 14:40:06 +01:00
MDL-51824 auth: include required CLI library
This commit is contained in:
parent
37e51a5daa
commit
0bc41cfcec
@ -44,6 +44,7 @@ define('CLI_SCRIPT', true);
|
||||
|
||||
require(dirname(dirname(dirname(dirname(__FILE__)))).'/config.php');
|
||||
require_once($CFG->dirroot.'/course/lib.php');
|
||||
require_once($CFG->libdir.'/clilib.php');
|
||||
|
||||
// Ensure errors are well explained
|
||||
set_debugging(DEBUG_DEVELOPER, true);
|
||||
|
@ -48,6 +48,7 @@ define('CLI_SCRIPT', true);
|
||||
|
||||
require(dirname(dirname(dirname(dirname(__FILE__)))).'/config.php'); // global moodle config file.
|
||||
require_once($CFG->dirroot.'/course/lib.php');
|
||||
require_once($CFG->libdir.'/clilib.php');
|
||||
|
||||
// Ensure errors are well explained
|
||||
set_debugging(DEBUG_DEVELOPER, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user