From 3c352ba4efc4d6bdb805ff4c7a1ff757c27ee294 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 7 Jan 2007 14:08:47 +0000 Subject: - fix some convertor bugs. - added support for the validated birthday mod and fixed the integration of nils' birthday mod git-svn-id: file:///svn/phpbb/trunk@6851 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_convert.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'phpBB/includes/functions_convert.php') diff --git a/phpBB/includes/functions_convert.php b/phpBB/includes/functions_convert.php index 0895e1b1fc..342d0bd2ef 100644 --- a/phpBB/includes/functions_convert.php +++ b/phpBB/includes/functions_convert.php @@ -444,7 +444,7 @@ function import_avatar_gallery($gallery_name = '', $subdirs_as_galleries = false { while ($entry = readdir($handle)) { - if ($entry[0] == '.') + if ($entry[0] == '.' || $entry == 'CVS' || $entry == 'index.htm') { continue; } @@ -460,7 +460,7 @@ function import_avatar_gallery($gallery_name = '', $subdirs_as_galleries = false { while ($entry = $dir->read()) { - if (substr($entry, 0, 1) == '.') + if ($entry[0] == '.' || $entry == 'CVS' || $entry == 'index.htm') { continue; } @@ -2173,7 +2173,7 @@ function copy_dir($src, $trg, $copy_subdirs = true, $overwrite = false, $die_on_ { while ($entry = readdir($handle)) { - if ($entry[0] == '.') + if ($entry[0] == '.' || $entry == 'CVS' || $entry == 'index.htm') { continue; } @@ -2193,7 +2193,7 @@ function copy_dir($src, $trg, $copy_subdirs = true, $overwrite = false, $die_on_ { while ($entry = $dir->read()) { - if (substr($entry, 0, 1) == '.') + if ($entry[0] == '.' || $entry == 'CVS' || $entry == 'index.htm') { continue; } -- cgit v1.2.1