MDL-23528 fixed recent cli installer regression, sorry
This commit is contained in:
+3
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user