fixed place where we define MOODLE_INTERNAL - we need to do that asap
This commit is contained in:
@@ -30,11 +30,6 @@
|
||||
|
||||
/// CONSTANTS (Encased in phpdoc proper comments)/////////////////////////
|
||||
|
||||
/**
|
||||
* Used by some scripts to check they are being called by Moodle
|
||||
*/
|
||||
define('MOODLE_INTERNAL', true);
|
||||
|
||||
/// Date and time constants ///
|
||||
/**
|
||||
* Time constant - the number of seconds in a year
|
||||
|
||||
@@ -149,6 +149,11 @@ if (defined('ABORT_AFTER_CONFIG')) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Used by some scripts to check they are being called by Moodle
|
||||
*/
|
||||
define('MOODLE_INTERNAL', true);
|
||||
|
||||
/**
|
||||
* Database connection. Used for all access to the database.
|
||||
* @global moodle_database $DB
|
||||
|
||||
Reference in New Issue
Block a user