mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-66110 core: Require setuplib.php once as it's required by xmlize.php
This commit is contained in:
parent
191d4bc191
commit
343ffc1000
@ -39,6 +39,9 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
// Add setuplib in case it has not been loaded yet as it's required by \xml_format_exception.
|
||||
require_once($CFG->libdir.'/setuplib.php');
|
||||
|
||||
class xml_format_exception extends moodle_exception {
|
||||
/** @var string */
|
||||
public $errorstring;
|
||||
|
Loading…
x
Reference in New Issue
Block a user