-
Bug
-
Resolution: Fixed
-
Major
-
2.7.5, 2.8.3
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
MDL-48929-master -
The function send_relative_file in repository/filesystem/lib.php does not work as expected in a windows system.
The condition
if (strpos($fullrelativefilepath, $this->get_rootpath()) === 0 && file_exists($fullrelativefilepath))
Well just strpos($fullrelativefilepath, $this->get_rootpath()) return false because of mixed slashes. A dump from the problem on my system:
$this->get_rootpath()='C:\www\moodledata\26/repository/scorm/'
$fullrelativefilepath= 'C:\www\moodledata\26\repository\scorm\...'
- has been marked as being related by
-
MDL-41580 Allow an imsmanifest.xml file to be selected from a file system repository and allow relative linking
-
- Closed
-