Skip to content

Commit 100dd4e

Browse files
committed
Require vendor/autoload.php
1 parent 00816a7 commit 100dd4e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

classes/hook_callbacks.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ class hook_callbacks {
3232
* @param \core\hook\after_config $hook
3333
*/
3434
public static function after_config(\core\hook\after_config $hook): void {
35-
// The original callback performs no operations, so we don't need to do anything here.
35+
global $CFG;
36+
37+
require_once($CFG->dirroot . '/vendor/autoload.php');
3638
}
3739
}

0 commit comments

Comments
 (0)