includes/ucp/ucp_confirm.php
changeset 0 ceef6d64c21d
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/includes/ucp/ucp_confirm.php	Wed Mar 07 16:41:10 2012 +0400
     1.3 @@ -0,0 +1,50 @@
     1.4 +<?php
     1.5 +/**
     1.6 +*
     1.7 +* @package VC
     1.8 +* @version $Id$
     1.9 +* @copyright (c) 2005 2008 phpBB Group
    1.10 +* @license http://opensource.org/licenses/gpl-license.php GNU Public License
    1.11 +*
    1.12 +*/
    1.13 +
    1.14 +/**
    1.15 +* @ignore
    1.16 +*/
    1.17 +if (!defined('IN_PHPBB'))
    1.18 +{
    1.19 +	exit;
    1.20 +}
    1.21 +
    1.22 +/**
    1.23 +* ucp_confirm
    1.24 +* Visual confirmation
    1.25 +*
    1.26 +* Note to potential users of this code ...
    1.27 +*
    1.28 +* Remember this is released under the _GPL_ and is subject
    1.29 +* to that licence. Do not incorporate this within software
    1.30 +* released or distributed in any way under a licence other
    1.31 +* than the GPL. We will be watching ... ;)
    1.32 +*
    1.33 +* @package VC
    1.34 +*/
    1.35 +class ucp_confirm
    1.36 +{
    1.37 +	var $u_action;
    1.38 +
    1.39 +	function main($id, $mode)
    1.40 +	{
    1.41 +		global $db, $user, $phpbb_root_path, $config, $phpEx;
    1.42 +
    1.43 +		include($phpbb_root_path . 'includes/captcha/captcha_factory.' . $phpEx);
    1.44 +		$captcha = phpbb_captcha_factory::get_instance($config['captcha_plugin']);
    1.45 +		$captcha->init(request_var('type', 0));
    1.46 +		$captcha->execute();
    1.47 +
    1.48 +		garbage_collection();
    1.49 +		exit_handler();
    1.50 +	}
    1.51 +}
    1.52 +
    1.53 +?>
    1.54 \ No newline at end of file