aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_convert.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-01-07 14:08:47 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-01-07 14:08:47 +0000
commit3c352ba4efc4d6bdb805ff4c7a1ff757c27ee294 (patch)
tree852dea56357815fb08de7a50de178149fcc9412d /phpBB/includes/functions_convert.php
parent09ce0caad6cf62214b56387697afb9fb2f2cc4d8 (diff)
downloadforums-3c352ba4efc4d6bdb805ff4c7a1ff757c27ee294.tar
forums-3c352ba4efc4d6bdb805ff4c7a1ff757c27ee294.tar.gz
forums-3c352ba4efc4d6bdb805ff4c7a1ff757c27ee294.tar.bz2
forums-3c352ba4efc4d6bdb805ff4c7a1ff757c27ee294.tar.xz
forums-3c352ba4efc4d6bdb805ff4c7a1ff757c27ee294.zip
- 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
Diffstat (limited to 'phpBB/includes/functions_convert.php')
-rw-r--r--phpBB/includes/functions_convert.php8
1 files changed, 4 insertions, 4 deletions
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;
}