FundacionLQDVI_WebCongresos/www/components/com_alpharegistration/alpharegistration.php

32 lines
849 B
PHP

<?php
/**
* @version 2.0.10 alpharegistration $
* @package alpharegistration
* @copyright Copyright © 2009-2010 - Bernard Gilly - All rights reserved.
* @license GNU/GPL
* @author Bernard Gilly
* @author mail contact@alphaplug.com
* @website www.alphaplug.com
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
// Import file dependencies if necessary
$api_AUP = JPATH_SITE.DS.'components'.DS.'com_alphauserpoints'.DS.'helper.php';
if ( file_exists($api_AUP))
{
require_once ($api_AUP);
}
// Require the base controller
require_once (JPATH_COMPONENT.DS.'controller.php');
// Create the controller
$controller = new alpharegistrationController();
// Perform the Request task
$controller->execute(JRequest::getVar('task', null, 'default', 'cmd'));
// Redirect if set by the controller
$controller->redirect();
?>