Merge branch 'MDL-50107-master' of git://github.com/jleyva/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2015-06-18 07:13:40 +02:00
+2
View File
@@ -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) {