Skip to content

Commit

Permalink
Update solve issue with loading lib
Browse files Browse the repository at this point in the history
  • Loading branch information
luukverhoeven committed Apr 29, 2024
1 parent abe5ee6 commit 904614f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions classes/hook/before_http_headers.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@

namespace local_commander\hook;

defined('MOODLE_INTERNAL') || die;

global $CFG;
require_once($CFG->dirroot. '/local/commander/lib.php');

use context_course;
use context_system;

Expand Down

0 comments on commit 904614f

Please sign in to comment.