styles.css path is wrong for plugins on windows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Melissa Draper |
Bug Description
Using Mahara 1.2.6 on Windows XP and MySQL. Debugging using Firebug
The paths returned by $THEME->get_url() include use of DIRECTORY_SEPARATOR in the middle of a URL, which doesn't work.
The line caling it is 1029 of /artefact/
And the function causing the problem is get_path() on line 697 of /ib/web.php, which can be fixed by altering line 699 to this:
Original line 699:
Changed in mahara: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in mahara: | |
status: | Triaged → Confirmed |
Changed in mahara: | |
assignee: | nobody → Melissa Draper (melissa) |
Changed in mahara: | |
status: | Confirmed → In Progress |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Correct file is /artefact/ file/form/ elements/ filebrowser. php