← Back to team overview

mahara-contributors team mailing list archive

[Bug 868851] A change has been merged

 

Reviewed:  https://reviews.mahara.org/784
Committed: http://gitorious.org/mahara/mahara/commit/b4afc8912bd31250997d6396da6fb33ec95a7a5b
Submitter: Francois Marier (francois@xxxxxxxxxxxxxxx)
Branch:    master

commit b4afc8912bd31250997d6396da6fb33ec95a7a5b
Author: Andrew Robert Nicols <andrew.nicols@xxxxxxxxxxx>
Date:   Sun Oct 9 23:34:11 2011 +0100

    Ignore hidden theme directories (bug #868851)
    
    Change-Id: I2aaf8068fac96725caee93e01b787f13ff8585eb
    Signed-off-by: Andrew Robert Nicols <andrew.nicols@xxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, 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


References