diff --git a/bootstrap.php b/bootstrap.php index c1f83d6..393a383 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -29,7 +29,9 @@ * @var stdClass $CFG */ -define('MOODLE_INTERNAL', true); +if (!defined('MOODLE_INTERNAL')) { + define('MOODLE_INTERNAL', true); +} defined('MOODLE_INTERNAL') || die(); // Make sniffer happy. // // We need the CFG->dataroot, if not set yet this script is called too early in config.php file.