mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 18:06:51 +02:00
Merge branch 'MDL-62061-master' of git://github.com/abgreeve/moodle
This commit is contained in:
commit
077f144293
1 changed files with 2 additions and 1 deletions
|
@ -212,7 +212,8 @@ class moodle_content_writer implements content_writer {
|
|||
[$file->get_filepath()]
|
||||
);
|
||||
$path = $this->get_path($pathitems, $file->get_filename());
|
||||
check_dir_exists(dirname($path), true, true);
|
||||
$fullpath = $this->get_full_path($pathitems, $file->get_filename());
|
||||
check_dir_exists(dirname($fullpath), true, true);
|
||||
$this->files[$path] = $file;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue