export html check for directory readability needs to match directory used
Bug #1895617 reported by
Lisa Seeto
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Lisa Seeto | ||
20.04 |
Fix Released
|
High
|
Unassigned | ||
20.10 |
Fix Released
|
High
|
Lisa Seeto |
Bug Description
In export/html/lib in the copy_static_files() we have the lines:
if (is_readable($dir . $static)) {...etc...}
but when we later populate the directories we want to copy we use:
$directoriestoc
This also adds an extra unneccesary directory level '/'.
We need to make these paths consistent.
description: | updated |
Changed in mahara: | |
importance: | Undecided → High |
Changed in mahara: | |
milestone: | 20.10.0 → none |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/11273