Skip to content

Commit

Permalink
Merge branch 'MDL-78431-400' of https://github.com/andrewnicols/moodle
Browse files Browse the repository at this point in the history
…into MOODLE_400_STABLE
  • Loading branch information
junpataleta committed Jun 8, 2023
2 parents 777e72b + 555622a commit 5a04d7f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/jssourcemap.php
Expand Up @@ -26,8 +26,9 @@
// comment out when debugging or better look into error log!
define('NO_DEBUG_DISPLAY', true);

require('../config.php');
require_once("$CFG->dirroot/lib/configonlylib.php");
// We need just the values from config.php and minlib.php.
define('ABORT_AFTER_CONFIG', true);
require('../config.php'); // This stops immediately at the beginning of lib/setup.php.
require_once("$CFG->dirroot/lib/classes/requirejs.php");

$slashargument = min_get_slash_argument();
Expand Down

0 comments on commit 5a04d7f

Please sign in to comment.