Added a new defined constant to moodlelib.php, to be used by scripts with
php extensions that should not be called directly. See SC19 Constant: MOODLE_INTERNAL
This commit is contained in:
@@ -36,6 +36,9 @@
|
||||
|
||||
/// CONSTANTS /////////////////////////////////////////////////////////////
|
||||
|
||||
define('MOODLE_INTERNAL', true); // Used by some scripts to check they
|
||||
// are being called by Moodle
|
||||
|
||||
define('NOGROUPS', 0);
|
||||
define('SEPARATEGROUPS', 1);
|
||||
define('VISIBLEGROUPS', 2);
|
||||
|
||||
Reference in New Issue
Block a user