6 * @copyright (c) 2005 2008 phpBB Group
7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
14 if (!defined('IN_PHPBB'))
23 * Note to potential users of this code ...
25 * Remember this is released under the _GPL_ and is subject
26 * to that licence. Do not incorporate this within software
27 * released or distributed in any way under a licence other
28 * than the GPL. We will be watching ... ;)
36 function main($id, $mode)
38 global $db, $user, $phpbb_root_path, $config, $phpEx;
40 include($phpbb_root_path . 'includes/captcha/captcha_factory.' . $phpEx);
41 $captcha = phpbb_captcha_factory::get_instance($config['captcha_plugin']);
42 $captcha->init(request_var('type', 0));