get_all_theme_objects and directory starts with dot
Bug #868851 reported by
Yaju Mahida
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Mahara |
Fix Released
|
Wishlist
|
Andrew Nicols | ||
Bug Description
We use subversion and under each sub-directory of Mahara a directory called .svn is created by it.
The logic in the function get_all_
I have modified the logic as if (substr($subdir, 0, 1) != "." && is_dir($themebase . $subdir)) which solves the issue - ignores all directories with dot and double dots.
| Changed in mahara: | |
| milestone: | none → 1.5.0 |
| assignee: | nobody → Andrew Nicols (dobedobedoh) |
| status: | New → Triaged |
| status: | Triaged → In Progress |
| importance: | Undecided → Low |
| importance: | Low → Wishlist |
| Changed in mahara: | |
| status: | In Progress → Fix Committed |
To post a comment you must log in.

Patch added without hard tabs and comments