CoreFiles by mySites.guru
banners.php20 lines, 592 bytes, from Joomla_3.0.2-Stable-Full_Package.zip
Raw History Compare with 3.0.1
md5
527365c49b126ff28b1f379e1faab733
sha1
ab7e900f3d5ebe494d636f75fe7efed406dcff1e
sha256
0a47a4a18cb83d99ba46cca85b47c18bc4190de3635082a994cd432d41f1a08e
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_banners
 *
 * @copyright   Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

if (!JFactory::getUser()->authorise('core.manage', 'com_banners'))
{
	return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
}

// Execute the task.
$controller	= JControllerLegacy::getInstance('Banners');
$controller->execute(JFactory::getApplication()->input->get('task'));
$controller->redirect();

The same content is in 3 releases, Joomla 3.0.0 to 3.0.2. See them all, or every version of this file.