aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install_convert.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-05-07 13:19:59 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-05-07 13:19:59 +0000
commit5de26540b4f0348719ec93e760ed987f92a60075 (patch)
treec3404563a65d5ed2699257ee82d723fb39b28cfe /phpBB/install/install_convert.php
parent8678ad0b0b2f83ce91047f06fb73474105a70d7c (diff)
downloadforums-5de26540b4f0348719ec93e760ed987f92a60075.tar
forums-5de26540b4f0348719ec93e760ed987f92a60075.tar.gz
forums-5de26540b4f0348719ec93e760ed987f92a60075.tar.bz2
forums-5de26540b4f0348719ec93e760ed987f92a60075.tar.xz
forums-5de26540b4f0348719ec93e760ed987f92a60075.zip
fixing some bugs
changed the way we are handling bookmarks. No order_id required, really! Order by last post time as suggested by BartVB. git-svn-id: file:///svn/phpbb/trunk@7497 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/install_convert.php')
-rw-r--r--phpBB/install/install_convert.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/phpBB/install/install_convert.php b/phpBB/install/install_convert.php
index 52e4d1cf14..12d4eda5ec 100644
--- a/phpBB/install/install_convert.php
+++ b/phpBB/install/install_convert.php
@@ -753,7 +753,14 @@ class install_convert extends module
$this->p_master->error(sprintf($user->lang['COULD_NOT_FIND_PATH'], $convert->options['forum_path']), __LINE__, __FILE__);
}
- $search_type = $config['search_type'];
+ $search_type = basename(trim($config['search_type']));
+
+ // For conversions we are a bit less strict and set to a search backend we know exist...
+ if (!file_exists($phpbb_root_path . 'includes/search/' . $search_type . '.' . $phpEx))
+ {
+ $search_type = 'fulltext_native';
+ set_config('search_type', $search_type);
+ }
if (!file_exists($phpbb_root_path . 'includes/search/' . $search_type . '.' . $phpEx))
{