1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 03:04:09 +02:00

[feature/extension-manager] Rename default methods to core methods on finder.

There are now extension_ and core_ methods for all finder settings as well as
a generic method which overwrites both.

PHPBB3-10323
This commit is contained in:
Nils Adermann
2011-11-18 16:42:53 +01:00
parent d8e5783e8c
commit 0d296785b2
7 changed files with 139 additions and 122 deletions

View File

@@ -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)