mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-10-22 10:18:06 +02:00
Merge pull request #353 from catalyst/fix-define
Fix bootstrap define #352
This commit is contained in:
1 file changed
+3
-1
+3
-1
@@ -30,7 +30,9 @@
|
||||
* @var stdClass $CFG
|
||||
*/
|
||||
|
||||
define('MOODLE_INTERNAL', true);
|
||||
if (!defined('MOODLE_INTERNAL')) {
|
||||
define('MOODLE_INTERNAL', true);
|
||||
}
|
||||
defined('MOODLE_INTERNAL') || die(); // Make sniffer happy.
|
||||
//
|
||||
// We need the CFG->dataroot, if not set yet this script is called too early in config.php file.
|
||||
|
||||
Reference in new issue
Block a user