MDL-23528 fixed recent cli installer regression, sorry

This commit is contained in:
Petr Skoda
2010-07-26 20:22:49 +00:00
parent 460ebd6c31
commit 26f073ff98
+3 -1
View File
@@ -151,7 +151,9 @@ if (defined('ABORT_AFTER_CONFIG')) {
}
/** Used by library scripts to check they are being called by Moodle */
define('MOODLE_INTERNAL', true);
if (!defined('MOODLE_INTERNAL')) { // necessary because cli installer has to define it earlier
define('MOODLE_INTERNAL', true);
}
/**
* Database connection. Used for all access to the database.