diff --git a/classes/hook_callbacks.php b/classes/hook_callbacks.php index ade4ca5..e1e0f75 100644 --- a/classes/hook_callbacks.php +++ b/classes/hook_callbacks.php @@ -34,6 +34,6 @@ class hook_callbacks { public static function after_config(\core\hook\after_config $hook): void { global $CFG; - require_once($CFG->dirroot . '/vendor/autoload.php'); + require_once($CFG->dirroot . '/mod/cms/vendor/autoload.php'); } }