From 143862e25ad7d1e8a4d87c3a4bcf83b37fa27a23 Mon Sep 17 00:00:00 2001 From: Srdjan Date: Mon, 3 Jul 2023 15:50:30 +1000 Subject: [PATCH] Issue#321 bootstrap.php: remove require(config.php) bootstrap.php is supposed to be required from config.php, so it makes no sense to require config.php in bootstrap.php. --- bootstrap.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/bootstrap.php b/bootstrap.php index 5437fc3..cbbacc6 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -29,11 +29,6 @@ * @var stdClass $CFG */ -// This call is required by Moodle, but this script should have been called by config.php anyway. -// @codingStandardsIgnoreStart -require_once(__DIR__.'/../../config.php'); -// @codingStandardsIgnoreEnd - // We need the CFG->dataroot, if not set yet this script is called too early in config.php file. if (!isset($CFG->dataroot)) { return;