Skip to content
Permalink
Browse files
Merge branch 'MDL-60424-32' of git://github.com/jleyva/moodle into MO…
…ODLE_32_STABLE
  • Loading branch information
David Monllao committed Nov 6, 2017
2 parents da0bb6a + 311076f commit 3c665aed99e1df3e4d18dd15793a06b002c5a6b3
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 3c665ae

Please sign in to comment.