Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'MDL-60424-33' of git://github.com/jleyva/moodle into MO…
…ODLE_33_STABLE
  • Loading branch information
David Monllao committed Nov 6, 2017
2 parents b805234 + 3ae3f0e commit 3c171ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions webservice/upload.php
Expand Up @@ -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);

Expand Down

0 comments on commit 3c171ca

Please sign in to comment.