fixed place where we define MOODLE_INTERNAL - we need to do that asap

This commit is contained in:
Petr Skoda
2010-07-25 12:56:08 +00:00
parent 3d1b745283
commit 1a3993c1ec
2 changed files with 5 additions and 5 deletions
-5
View File
@@ -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
+5
View File
@@ -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