aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2010-06-25 14:38:53 +0200
committerNils Adermann <naderman@naderman.de>2010-07-05 15:40:46 +0200
commitdea1d660fb63b07451f1a43310de359251462644 (patch)
treed4ba1c6e3ce05c3c545cc8ffaaddce56ee03db59 /phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
parent22c3041e128bd2d10d37672bdf5c7c1eb4112b12 (diff)
downloadforums-dea1d660fb63b07451f1a43310de359251462644.tar
forums-dea1d660fb63b07451f1a43310de359251462644.tar.gz
forums-dea1d660fb63b07451f1a43310de359251462644.tar.bz2
forums-dea1d660fb63b07451f1a43310de359251462644.tar.xz
forums-dea1d660fb63b07451f1a43310de359251462644.zip
[feature/auto-loading] Added autoloader to common and ensured compatability
The autoloader is registered in install without caching, since caching is set up during installation. This provides the same functionality, performance is not a concern during installation anyway. In common.php the autoloader is instantiated after the cache is initialised and is started with the standard cache backend used for other cached values. A few places in the code using class_exists had to be updated to explicitly avoid autoloading, since they are used to check whether a file needs to be included which does not (yet) follow the naming scheme the autoloader follows. PHPBB3-9682
Diffstat (limited to 'phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php')
-rw-r--r--phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php b/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
index 0f0bfc4156..dad39867dc 100644
--- a/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
+++ b/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
@@ -16,7 +16,7 @@ if (!defined('IN_PHPBB'))
exit;
}
-if (!class_exists('phpbb_default_captcha'))
+if (!class_exists('phpbb_default_captcha', false))
{
// we need the classic captcha code for tracking solutions and attempts
include($phpbb_root_path . 'includes/captcha/plugins/captcha_abstract.' . $phpEx);