mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-12886 refactored function return full external function info and improved reporting of access control problems
This commit is contained in:
parent
472f56d926
commit
5593d2dc36
5 changed files with 103 additions and 101 deletions
|
@ -37,7 +37,5 @@ class webservice_xmlrpc_server extends webservice_zend_server {
|
|||
parent::__construct('Zend_XmlRpc_Server');
|
||||
$this->wsname = 'xmlrpc';
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -33,12 +33,8 @@ require_once("$CFG->dirroot/webservice/xmlrpc/locallib.php");
|
|||
//TODO: for now disable all mess in xml
|
||||
ini_set('display_errors', '0');
|
||||
ini_set('log_errors', '1');
|
||||
$CFG->debug = 0;
|
||||
$CFG->debugdisplay = false;
|
||||
|
||||
//error_log('yy');
|
||||
//error_log(var_export($_SERVER, true));
|
||||
|
||||
if (!webservice_protocol_is_enabled('xmlrpc')) {
|
||||
die;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue