includes/ucp/ucp_confirm.php
author indvdum (gotoindvdum[at]gmail[dot]com)
Wed, 07 Mar 2012 23:10:55 +0400
changeset 7 a0100cde92ff
parent 0 ceef6d64c21d
permissions -rw-r--r--
HG ignore
indvdum@0
     1
<?php
indvdum@0
     2
/**
indvdum@0
     3
*
indvdum@0
     4
* @package VC
indvdum@0
     5
* @version $Id$
indvdum@0
     6
* @copyright (c) 2005 2008 phpBB Group
indvdum@0
     7
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
indvdum@0
     8
*
indvdum@0
     9
*/
indvdum@0
    10
indvdum@0
    11
/**
indvdum@0
    12
* @ignore
indvdum@0
    13
*/
indvdum@0
    14
if (!defined('IN_PHPBB'))
indvdum@0
    15
{
indvdum@0
    16
	exit;
indvdum@0
    17
}
indvdum@0
    18
indvdum@0
    19
/**
indvdum@0
    20
* ucp_confirm
indvdum@0
    21
* Visual confirmation
indvdum@0
    22
*
indvdum@0
    23
* Note to potential users of this code ...
indvdum@0
    24
*
indvdum@0
    25
* Remember this is released under the _GPL_ and is subject
indvdum@0
    26
* to that licence. Do not incorporate this within software
indvdum@0
    27
* released or distributed in any way under a licence other
indvdum@0
    28
* than the GPL. We will be watching ... ;)
indvdum@0
    29
*
indvdum@0
    30
* @package VC
indvdum@0
    31
*/
indvdum@0
    32
class ucp_confirm
indvdum@0
    33
{
indvdum@0
    34
	var $u_action;
indvdum@0
    35
indvdum@0
    36
	function main($id, $mode)
indvdum@0
    37
	{
indvdum@0
    38
		global $db, $user, $phpbb_root_path, $config, $phpEx;
indvdum@0
    39
indvdum@0
    40
		include($phpbb_root_path . 'includes/captcha/captcha_factory.' . $phpEx);
indvdum@0
    41
		$captcha = phpbb_captcha_factory::get_instance($config['captcha_plugin']);
indvdum@0
    42
		$captcha->init(request_var('type', 0));
indvdum@0
    43
		$captcha->execute();
indvdum@0
    44
indvdum@0
    45
		garbage_collection();
indvdum@0
    46
		exit_handler();
indvdum@0
    47
	}
indvdum@0
    48
}
indvdum@0
    49
indvdum@0
    50
?>