Reviewed: https://reviews.mahara.org/784 Committed: http://gitorious.org/mahara/mahara/commit/b4afc8912bd31250997d6396da6fb33ec95a7a5b Submitter: Francois Marier ([email protected]) Branch: master
commit b4afc8912bd31250997d6396da6fb33ec95a7a5b Author: Andrew Robert Nicols <[email protected]> Date: Sun Oct 9 23:34:11 2011 +0100 Ignore hidden theme directories (bug #868851) Change-Id: I2aaf8068fac96725caee93e01b787f13ff8585eb Signed-off-by: Andrew Robert Nicols <[email protected]> -- You received this bug notification because you are a member of Mahara Core, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/868851 Title: get_all_theme_objects and directory starts with dot Status in Mahara ePortfolio: Fix Committed 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_theme_objects and $subdir != "." && $subdir != ".." doesn't skip .svn directory which generates [WAR] 09 (lib/mahara.php:639) The name of the theme '.svn' contains invalid characters. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/868851/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-core Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-core More help : https://help.launchpad.net/ListHelp

