replaced relative links to absolute links because some web servers get confused, see bug 3483
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
///// This page offers a way to define category level datasets /////
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
|
||||
require_once("../../../../config.php");
|
||||
require_once("$CFG->dirroot/config.php");
|
||||
|
||||
require_variable($category);
|
||||
optional_variable($question);
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
|
||||
require_once($CFG->dirroot . '/mod/quiz/questiontypes/rqp/lib.php');
|
||||
require_once('remote.php');
|
||||
require_once($CFG->dirroot . '/mod/quiz/questiontypes/rqp/remote.php');
|
||||
|
||||
/**
|
||||
* RQP question type class
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
*/
|
||||
|
||||
// Load functions for the RQP-SOAP binding
|
||||
require_once('rqp.php');
|
||||
require_once($CFG->dirroot . '/mod/quiz/questiontypes/rqp/rqp.php');
|
||||
|
||||
// Remote item processing flags (cached from server)
|
||||
define('REMOTE_TEMPLATE', 4);
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
// Load the SOAP library that gives a unified wrapping to either the native
|
||||
// PHP5 SOAP extension if available or to nuSOAP otherwise.
|
||||
require_once('uni_soap.php');
|
||||
require_once($CFG->dirroot . '/mod/quiz/questiontypes/rqp/uni_soap.php');
|
||||
|
||||
/**
|
||||
* Base RQP URI for RQP-defined identifiers
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
// This page lists all the available RQP question types
|
||||
|
||||
require_once('../../../../config.php');
|
||||
require_once($CFG->dirroot . '/config.php');
|
||||
require_once($CFG->libdir.'/tablelib.php');
|
||||
require_once('lib.php');
|
||||
require_once('remote.php');
|
||||
require_once($CFG->dirroot . '/mod/quiz/questiontypes/rqp/lib.php');
|
||||
require_once($CFG->dirroot . '/mod/quiz/questiontypes/rqp/remote.php');
|
||||
|
||||
$info = optional_param('info', 0, PARAM_INT); // id of server for which to show info
|
||||
$delete = optional_param('delete', 0, PARAM_INT); // id of server to delete
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
if (class_exists('SoapClient')) {
|
||||
// Use the native PHP5 support
|
||||
require_once('uni_soap.php5');
|
||||
require_once($CFG->dirroot . '/mod/quiz/questiontypes/rqp/uni_soap.php5');
|
||||
}
|
||||
else{
|
||||
// Use nuSOAP instead
|
||||
require_once('nusoap.php');
|
||||
require_once($CFG->dirroot . '/mod/quiz/questiontypes/rqp/nusoap.php');
|
||||
|
||||
function make_soap_fault($faultcode, $faultstring, $faultactor='', $detail='', $faultname='', $headerfault='') {
|
||||
return new soap_fault($faultcode, $faultactor, $faultstring, $detail);
|
||||
|
||||
Reference in New Issue
Block a user