CoreFiles by mySites.guru
newsfeeds.php22 lines, 652 bytes, from Joomla_2.5.6-Stable-Full_Package.zip
Raw History Compare with 2.5.5
md5
cfb3a30b944635692bb28d7372780d3f
sha1
ee0f2f82eaf1964b8d9ecf30b02a649f5d1aa190
sha256
8375cd97db7cb9d4809f02ceb618370dc43de719ac5b6e88f5798c023f447acc
<?php
/**
 * @package		Joomla.Administrator
 * @subpackage	com_newsfeeds
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// No direct access.
defined('_JEXEC') or die;

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

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

$controller	= JController::getInstance('Newsfeeds');
$controller->execute(JRequest::getCmd('task'));
$controller->redirect();

The same content is in 7 releases, Joomla 2.5.0 to 2.5.6. See them all, or every version of this file.