mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
Merge branch 'MDL-33028' of git://github.com/mouneyrac/moodle
This commit is contained in:
commit
8cba2bb747
@ -37,6 +37,8 @@ require('../../config.php');
|
||||
require_once("$CFG->dirroot/webservice/amf/locallib.php");
|
||||
|
||||
if (!webservice_protocol_is_enabled('amf')) {
|
||||
debugging('The server died because the web services or the AMF protocol are not enable',
|
||||
DEBUG_DEVELOPER);
|
||||
die;
|
||||
}
|
||||
|
||||
|
@ -37,6 +37,8 @@ require('../../config.php');
|
||||
require_once("$CFG->dirroot/webservice/rest/locallib.php");
|
||||
|
||||
if (!webservice_protocol_is_enabled('rest')) {
|
||||
debugging('The server died because the web services or the REST protocol are not enable',
|
||||
DEBUG_DEVELOPER);
|
||||
die;
|
||||
}
|
||||
|
||||
|
@ -37,6 +37,8 @@ require('../../config.php');
|
||||
require_once("$CFG->dirroot/webservice/soap/locallib.php");
|
||||
|
||||
if (!webservice_protocol_is_enabled('soap')) {
|
||||
debugging('The server died because the web services or the SOAP protocol are not enable',
|
||||
DEBUG_DEVELOPER);
|
||||
die;
|
||||
}
|
||||
|
||||
|
@ -37,6 +37,8 @@ require('../../config.php');
|
||||
require_once("$CFG->dirroot/webservice/xmlrpc/locallib.php");
|
||||
|
||||
if (!webservice_protocol_is_enabled('xmlrpc')) {
|
||||
debugging('The server died because the web services or the XMLRPC protocol are not enable',
|
||||
DEBUG_DEVELOPER);
|
||||
die;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user