aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/captcha/captcha_factory.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/captcha/captcha_factory.php')
-rw-r--r--phpBB/includes/captcha/captcha_factory.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/includes/captcha/captcha_factory.php b/phpBB/includes/captcha/captcha_factory.php
index 2779a23d34..e039e92054 100644
--- a/phpBB/includes/captcha/captcha_factory.php
+++ b/phpBB/includes/captcha/captcha_factory.php
@@ -68,10 +68,9 @@ class phpbb_captcha_factory
$finder = $phpbb_extension_manager->get_finder();
$captcha_plugin_classes = $finder
- ->directory('/captcha')
+ ->extension_directory('/captcha')
->suffix('_plugin')
- ->default_path('includes/captcha/plugins/')
- ->default_directory('')
+ ->core_path('includes/captcha/plugins/')
->get_classes();
foreach ($captcha_plugin_classes as $class)