<?php
/**
 * @version		$Id: quanta.php 139 2009-06-25 05:22:04Z eddieajau $
 * @package		TAOJ.Quanta
 * @subpackage	com_quanta
 * @copyright	Copyright (C) 2009 New Life in IT Pty Ltd. All rights reserved.
 * @license		GNU General Public License <http://www.gnu.org/copyleft/gpl.html>
 * @link		http://www.theartofjoomla.com
 */

// no direct access
defined('_JEXEC') or die;

// PHP 5 check
if (version_compare(PHP_VERSION, '5.0.0', '<')) {
	return JError::raiseWarning(500, JText::_('TAOJ_Use_PHP5'));
}

if (!function_exists('jximport')) {
	require JPATH_ADMINISTRATOR.DS.'components'.DS.'com_quanta'.DS.'libraries'.DS.'jxtended.php';
}

if (version_compare(JX_LIBRARIES,'1.0.11', '<')) {
	return JError::raiseWarning(500, JText::sprintf('JX_PLUGIN_OUTDATED', '1.0.11'));
}

if (!defined('JPATH_QUANTA')) {
	define('JPATH_QUANTA', dirname(__FILE__));
}

// Include dependancies
jximport('jxtended.application.component.controller');

$controller = JxController::getInstance('Quanta');
$controller->execute(JRequest::getVar('task'));
$controller->redirect();
