Skip to content
Permalink
Browse files

Merge branch 'MDL-60424-33' of git://github.com/jleyva/moodle into MO…

…ODLE_33_STABLE
  • Loading branch information
David Monllao
David Monllao committed Nov 6, 2017
2 parents b805234 + 3ae3f0e commit 3c171cae05992a4860a563acf9ca080d28da1566
Showing with 4 additions and 0 deletions.
  1. +4 −0 webservice/upload.php
@@ -43,6 +43,10 @@

require_once(__DIR__ . '/../config.php');
require_once($CFG->dirroot . '/webservice/lib.php');

// Allow CORS requests.
header('Access-Control-Allow-Origin: *');

$filepath = optional_param('filepath', '/', PARAM_PATH);
$itemid = optional_param('itemid', 0, PARAM_INT);

0 comments on commit 3c171ca

Please sign in to comment.