mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-56788 themes: Update require to use admin setting.
The renderer now uses the $CFG->admin setting in the require_once call.
This commit is contained in:
parent
ab7c5d1068
commit
f0568ed9af
@ -27,7 +27,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
use moodle_url;
|
||||
|
||||
require_once($CFG->dirroot . '/admin/renderer.php');
|
||||
require_once($CFG->dirroot . '/' . $CFG->admin . '/renderer.php');
|
||||
|
||||
/**
|
||||
* Admin renderer class.
|
||||
|
Loading…
x
Reference in New Issue
Block a user