mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Merge branch 'MDL-60762-master' of git://github.com/junpataleta/moodle
This commit is contained in:
commit
51c6cfb69a
@ -819,7 +819,7 @@ class manager {
|
||||
$existingtourrecords->close();
|
||||
|
||||
foreach ($shippedtours as $filename => $version) {
|
||||
$filepath = $CFG->dirroot . '/admin/tool/usertours/tours/' . $filename;
|
||||
$filepath = $CFG->dirroot . "/{$CFG->admin}/tool/usertours/tours/" . $filename;
|
||||
$tourjson = file_get_contents($filepath);
|
||||
$tour = self::import_tour_from_json($tourjson);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user