Rev | Line | |
---|
[400] | 1 | <?php
|
---|
| 2 | /**
|
---|
| 3 | *
|
---|
| 4 | * @package VC
|
---|
[702] | 5 | * @version $Id$
|
---|
| 6 | * @copyright (c) 2005 2008 phpBB Group
|
---|
[400] | 7 | * @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
---|
| 8 | *
|
---|
| 9 | */
|
---|
| 10 |
|
---|
| 11 | /**
|
---|
| 12 | * @ignore
|
---|
| 13 | */
|
---|
| 14 | if (!defined('IN_PHPBB'))
|
---|
| 15 | {
|
---|
| 16 | exit;
|
---|
| 17 | }
|
---|
| 18 |
|
---|
| 19 | /**
|
---|
| 20 | * ucp_confirm
|
---|
| 21 | * Visual confirmation
|
---|
| 22 | *
|
---|
| 23 | * Note to potential users of this code ...
|
---|
| 24 | *
|
---|
| 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 ... ;)
|
---|
| 29 | *
|
---|
| 30 | * @package VC
|
---|
| 31 | */
|
---|
| 32 | class ucp_confirm
|
---|
| 33 | {
|
---|
| 34 | var $u_action;
|
---|
| 35 |
|
---|
| 36 | function main($id, $mode)
|
---|
| 37 | {
|
---|
| 38 | global $db, $user, $phpbb_root_path, $config, $phpEx;
|
---|
| 39 |
|
---|
[702] | 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));
|
---|
| 43 | $captcha->execute();
|
---|
[400] | 44 |
|
---|
| 45 | garbage_collection();
|
---|
| 46 | exit_handler();
|
---|
| 47 | }
|
---|
| 48 | }
|
---|
| 49 |
|
---|
| 50 | ?>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.