Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.8.9, 1.9.5
-
Fix Version/s: None
-
Component/s: Files API
-
Labels:None
-
Environment:All Plattaforms
-
Affected Branches:MOODLE_18_STABLE, MOODLE_19_STABLE
Description
Using unzip_file of compressed file with sub folders these sub foders were not move from temp folder (of dataroot) to the destination folder. The problem is with rename function in line 7575 of moodlelib.php
Hello,
I can not reproduce the problem ,works fine for me:
1/ create zip file with subdires
2/ upload to course
3/ unzip
Please note the target directory must be inside dataroot and it must already exist.