aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop/search_fill.php
diff options
context:
space:
mode:
authorVjacheslav Trushkin <arty@phpbb.com>2012-02-09 22:22:32 +0200
committerVjacheslav Trushkin <arty@phpbb.com>2012-02-09 22:22:32 +0200
commita1a1b61ae8507276f7191be84a8782c0b0218f9c (patch)
tree4f567dbbb696d169db83507c1a29fb9fb6661f8b /phpBB/develop/search_fill.php
parent92303d2dacdd7be3fad4d2ffba84c0d30fcadeaf (diff)
downloadforums-a1a1b61ae8507276f7191be84a8782c0b0218f9c.tar
forums-a1a1b61ae8507276f7191be84a8782c0b0218f9c.tar.gz
forums-a1a1b61ae8507276f7191be84a8782c0b0218f9c.tar.bz2
forums-a1a1b61ae8507276f7191be84a8782c0b0218f9c.tar.xz
forums-a1a1b61ae8507276f7191be84a8782c0b0218f9c.zip
[ticket/10637] Leftovers from implementation of extensions in develop tools
Replacing code in development tools that was missed in ticket 10323 PHPBB3-10637
Diffstat (limited to 'phpBB/develop/search_fill.php')
-rw-r--r--phpBB/develop/search_fill.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/phpBB/develop/search_fill.php b/phpBB/develop/search_fill.php
index 371c8c74cc..4c0b607778 100644
--- a/phpBB/develop/search_fill.php
+++ b/phpBB/develop/search_fill.php
@@ -34,13 +34,11 @@ $user->setup();
$search_type = $config['search_type'];
-if (!file_exists($phpbb_root_path . 'includes/search/' . $search_type . '.' . $phpEx))
+if (!class_exists($search_type))
{
trigger_error('NO_SUCH_SEARCH_MODULE');
}
-require($phpbb_root_path . 'includes/search/' . $search_type . '.' . $phpEx);
-
$error = false;
$search = new $search_type($error);