Commit 29602087 authored by Nigel McNie's avatar Nigel McNie
Browse files

Use libroot instead of docroot/lib for an include path.

parent da6cb52f
......@@ -1262,7 +1262,7 @@ class View {
$userid = $USER->get('id');
if ($groupid) {
require_once(get_config('docroot') . 'lib/group.php');
require_once(get_config('libroot') . 'group.php');
if (!group_user_access($groupid)) {
throw new AccessDeniedException();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment