<?php
// $Id: captcha.php,v 1.2 2008/01/21 12:09:28 ohwada Exp $

// 2008-01-20 K.OHWADA
// Assigning the return value of new by reference is deprecated

//=========================================================
// Captcha Module
// 2007-02-18 K.OHWADA
//=========================================================

if ( file_exists('mainfile.php') ) 
{
	include 'mainfile.php';
}
elseif ( file_exists('../../mainfile.php') ) 
{
	include '../../mainfile.php';
}

include_once XOOPS_ROOT_PATH.'/modules/captcha/class/captcha_x/class.captcha_x.php';

// Assigning the return value of new by reference is deprecated
$captcha_x = new captcha_x();

$captcha_x->handle_request();

?>