get_all_theme_objects and directory starts with dot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Mahara |
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.
Yaju Mahida (yvm) wrote : | #1 |
Yaju Mahida (yvm) wrote : | #2 |
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 |
Reviewed: https:/
Committed: http://
Submitter: Francois Marier (<email address hidden>)
Branch: master
commit b4afc8912bd3125
Author: Andrew Robert Nicols <email address hidden>
Date: Sun Oct 9 23:34:11 2011 +0100
Ignore hidden theme directories (bug #868851)
Change-Id: I2aaf8068fac967
Signed-off-by: Andrew Robert Nicols <email address hidden>
Changed in mahara: | |
status: | In Progress → Fix Committed |
Melissa Draper (melissa) wrote : | #5 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
status fixreleased
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iQEcBAEBAgAGBQJ
yT4JUSRYzcVk8g5
Km/hOBIiaTCfNlZ
zKe23pNiXtMlRkq
ode3BhogyPMFWxS
5mPXBmBPLCiQAIQ
=Yjja
-----END PGP SIGNATURE-----
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch added without hard tabs and comments