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:
Adrian Greeve 2016-11-07 09:52:30 +08:00
parent ab7c5d1068
commit f0568ed9af

View File

@ -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.