aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install_convert.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-02-17 18:28:51 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-02-17 18:28:51 +0000
commite7de77fd8d7bbd5ed176dd82c4b81774e22c4a1d (patch)
treec37f158f8a7ae9360543a594942d3d9d55fc8054 /phpBB/install/install_convert.php
parent179d06c03e5927cdd83083e273855199fba36b4b (diff)
downloadforums-e7de77fd8d7bbd5ed176dd82c4b81774e22c4a1d.tar
forums-e7de77fd8d7bbd5ed176dd82c4b81774e22c4a1d.tar.gz
forums-e7de77fd8d7bbd5ed176dd82c4b81774e22c4a1d.tar.bz2
forums-e7de77fd8d7bbd5ed176dd82c4b81774e22c4a1d.tar.xz
forums-e7de77fd8d7bbd5ed176dd82c4b81774e22c4a1d.zip
#8082
git-svn-id: file:///svn/phpbb/trunk@7004 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/install_convert.php')
-rw-r--r--phpBB/install/install_convert.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/install/install_convert.php b/phpBB/install/install_convert.php
index 28093f8efa..9b7e621397 100644
--- a/phpBB/install/install_convert.php
+++ b/phpBB/install/install_convert.php
@@ -279,7 +279,7 @@ class install_convert extends module
while ($entry = readdir($handle))
{
- if (preg_match('/^convert_([a-z0-9_]+).' . $phpEx . '/i', $entry, $m))
+ if (preg_match('/^convert_([a-z0-9_]+).' . $phpEx . '$/i', $entry, $m))
{
include('./convertors/' . $entry);
if (isset($convertor_data))
@@ -452,6 +452,7 @@ class install_convert extends module
if (!$result)
{
$prefixes = array();
+ // TODO: fixme
if ($result = $src_db->sql_query('SHOW TABLES'))
{
while ($row = $src_db->sql_fetchrow($result))
@@ -991,7 +992,7 @@ class install_convert extends module
$config['max_quote_depth'] = 0;
// @todo Need to confirm that max post length in source is <= max post length in destination or there may be interesting formatting issues
- $config['max_post_chars'] = -1;
+ $config['max_post_chars'] = -1;
}
$template->assign_block_vars('checks', array(