Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

old version tried to use $CFG before loading config.php

  • Loading branch information...
commit 901d0f94a85579543499b3986c000b1a0a99e5b9 1 parent e80ca6f
gustav_delius authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/quiz/questiontypes/rqp/types.php
View
2  mod/quiz/questiontypes/rqp/types.php
@@ -2,7 +2,7 @@
// This page lists all the available RQP question types
- require_once($CFG->dirroot . '/config.php');
+ require_once('../../../../config.php');
require_once($CFG->libdir.'/tablelib.php');
require_once($CFG->dirroot . '/mod/quiz/questiontypes/rqp/lib.php');
require_once($CFG->dirroot . '/mod/quiz/questiontypes/rqp/remote.php');
Please sign in to comment.
Something went wrong with that request. Please try again.