From f98ca7ce48f5c6fbdde428ee2d1ead7bd8d43772 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Wed, 20 Jan 2010 00:20:46 +0000 Subject: Make sure captcha factory is there. Make sure language array is there. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10431 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/auth/auth_db.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'phpBB/includes/auth') diff --git a/phpBB/includes/auth/auth_db.php b/phpBB/includes/auth/auth_db.php index 13daf3ed61..73c4f92976 100644 --- a/phpBB/includes/auth/auth_db.php +++ b/phpBB/includes/auth/auth_db.php @@ -69,6 +69,11 @@ function login_db(&$username, &$password) if ($show_captcha) { // Visual Confirmation handling + if (!class_exists('phpbb_captcha_factory')) + { + global $phpbb_root_path, $phpEx; + include ($phpbb_root_path . 'includes/captcha/captcha_factory.' . $phpEx); + } $captcha =& phpbb_captcha_factory::get_instance($config['captcha_plugin']); $captcha->init(CONFIRM_LOGIN); -- cgit v1.2.1