CoreFiles by mySites.guru
content.php21 lines, 660 bytes, from Joomla_2.5.13-Stable-Full_Package.zip
Raw History Compare with 2.5.11
md5
245f51251d160bc15fd69f7aef840c16
sha1
6f2a13c3b3eb0f478791279df0864652aeae0caa
sha256
394e7015c5dc504492cc552a366920d3cef2c8e3a78212341032feab7563d84f
<?php
/**
 * @package		Joomla.Administrator
 * @subpackage	com_content
 * @copyright	Copyright (C) 2005 - 2013 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_content')) {
	return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
}

// Register helper class
JLoader::register('ContentHelper', dirname(__FILE__) . '/helpers/content.php');

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

The same content is in 8 releases, Joomla 2.5.9 to 2.5.17. See them all, or every version of this file.