<?php
/**
 * Joomla! 1.5 component allarticleannounce
 *
 * @version $Id: allarticleannounce.php 2009-10-18 20:32:30 svn $
 * @author David Han
 * @package Joomla
 * @subpackage allarticleannounce
 * @license GNU/GPL
 *
 * control component for plugin AllArticleAnnounce
 *
 * This component file was created using the Joomla Component Creator by Not Web Design
 * http://www.notwebdesign.com/joomla_component_creator/
 *
 */

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

/*
 * Define constants for all pages
 */
define( 'COM_ALLARTICLEANNOUNCE_DIR', 'images'.DS.'allarticleannounce'.DS );
define( 'COM_ALLARTICLEANNOUNCE_BASE', JPATH_ROOT.DS.COM_ALLARTICLEANNOUNCE_DIR );
define( 'COM_ALLARTICLEANNOUNCE_BASEURL', JURI::root().str_replace( DS, '/', COM_ALLARTICLEANNOUNCE_DIR ));

// Require the base controller
require_once JPATH_COMPONENT.DS.'controller.php';

// Require the base controller
require_once JPATH_COMPONENT.DS.'helpers'.DS.'helper.php';

// Initialize the controller
$controller = new AllarticleannounceController();

// Perform the Request task
$controller->execute( JRequest::getCmd('task'));
$controller->redirect();
?>