CoreFiles by mySites.guru
banners.php23 lines, 709 bytes, from Joomla_1.7.0-Stable-Full_Package.zip
Raw History Compare with 1.6.6
md5
04c4116d2bd7ff739d49979958c936ed
sha1
5dc5d8cbcdefc4efe10414dfe8fa1f992df44300
sha256
4be1f181ff8bdb8097e64454ea2633baac4b05012dd31e211cc7ca1122e35c67
<?php
/**
 * @version		$Id: banners.php 20196 2011-01-09 02:40:25Z ian $
 * @package		Joomla.Administrator
 * @subpackage	com_banners
 * @copyright	Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

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

// Include dependancies
jimport('joomla.application.component.controller');

// Execute the task.
$controller	= JController::getInstance('Banners');
$controller->execute(JRequest::getCmd('task'));
$controller->redirect();

The same content is in 13 releases, Joomla 1.6.0 to 1.7.5. See them all, or every version of this file.