aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/report.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-08-11 12:20:35 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-08-11 12:20:35 +0200
commit91df95a90dd3266f4beeb7df7534f75882909581 (patch)
tree4aa78d8abf67a08571dd7421251d104415dd2bf4 /phpBB/report.php
parentc10c6bd34297afbf6b32f5047a85c33fa546c23d (diff)
parent756aa68b34e8584c7e010b2295ff63e485be1907 (diff)
downloadforums-91df95a90dd3266f4beeb7df7534f75882909581.tar
forums-91df95a90dd3266f4beeb7df7534f75882909581.tar.gz
forums-91df95a90dd3266f4beeb7df7534f75882909581.tar.bz2
forums-91df95a90dd3266f4beeb7df7534f75882909581.tar.xz
forums-91df95a90dd3266f4beeb7df7534f75882909581.zip
Merge pull request #2842 from Nicofuma/ticket/11854
[ticket/11854] Move captchas to phpbb/ and use DI for plugins
Diffstat (limited to 'phpBB/report.php')
-rw-r--r--phpBB/report.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/report.php b/phpBB/report.php
index 3684c2162f..fd6fab6645 100644
--- a/phpBB/report.php
+++ b/phpBB/report.php
@@ -151,8 +151,7 @@ else
if ($config['enable_post_confirm'] && !$user->data['is_registered'])
{
- include($phpbb_root_path . 'includes/captcha/captcha_factory.' . $phpEx);
- $captcha = phpbb_captcha_factory::get_instance($config['captcha_plugin']);
+ $captcha = $phpbb_container->get('captcha.factory')->get_instance($config['captcha_plugin']);
$captcha->init(CONFIRM_REPORT);
}