Merge branch 'MDL-50107-master' of git://github.com/jleyva/moodle
This commit is contained in:
@@ -31,6 +31,8 @@ $username = required_param('username', PARAM_USERNAME);
|
||||
$password = required_param('password', PARAM_RAW);
|
||||
$serviceshortname = required_param('service', PARAM_ALPHANUMEXT);
|
||||
|
||||
// Allow CORS requests.
|
||||
header('Access-Control-Allow-Origin: *');
|
||||
echo $OUTPUT->header();
|
||||
|
||||
if (!$CFG->enablewebservices) {
|
||||
|
||||
Reference in New Issue
Block a user