MDL-78431 core: Abort after config for source maps

This commit is contained in:
Andrew Nicols 2023-06-07 21:06:00 +08:00
parent 090baf556e
commit 2279eee0ab
No known key found for this signature in database
GPG Key ID: 6D1E3157C8CFBF14

View File

@ -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();