diff options
Diffstat (limited to 'phpBB/modules/ucp/ucp_confirm.php')
-rw-r--r-- | phpBB/modules/ucp/ucp_confirm.php | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/phpBB/modules/ucp/ucp_confirm.php b/phpBB/modules/ucp/ucp_confirm.php new file mode 100644 index 0000000000..26ffc3c5fb --- /dev/null +++ b/phpBB/modules/ucp/ucp_confirm.php @@ -0,0 +1,48 @@ +<?php +/** +* +* @package VC +* @version $Id$ +* @copyright (c) 2005 2008 phpBB Group +* @license http://opensource.org/licenses/gpl-license.php GNU Public License +* +*/ + +/** +* @ignore +*/ +if (!defined('IN_PHPBB')) +{ + exit; +} + +/** +* ucp_confirm +* Visual confirmation +* +* Note to potential users of this code ... +* +* Remember this is released under the _GPL_ and is subject +* to that licence. Do not incorporate this within software +* released or distributed in any way under a licence other +* than the GPL. We will be watching ... ;) +* +* @package VC +*/ +class ucp_confirm +{ + var $u_action; + + function main($id, $mode) + { + global $db, $user, $config; + include(PHPBB_ROOT_PATH . 'includes/captcha/captcha_factory.' . PHP_EXT); + $captcha = phpbb_captcha_factory::get_instance($config['captcha_plugin']); + $captcha->init(request_var('type', 0)); + $captcha->execute(); + garbage_collection(); + exit_handler(); + } +} + +?>
\ No newline at end of file |