CoreFiles by mySites.guru
content.php21 lines, 660 bytes, from Joomla_2.5.21-Stable-Full_Package.zip
Raw History Compare with 2.5.20
md5
d074845308bde2543da401afc04492cb
sha1
a5c4f8d80012c85038ed5f5eb18597854a4c6666
sha256
0070e6a4f7aeda6ff4242d1d7e5324453beb119973b968f12d2bf1ba6579bae4
<?php
/**
 * @package		Joomla.Administrator
 * @subpackage	com_content
 * @copyright	Copyright (C) 2005 - 2014 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 11 releases, Joomla 2.5.18 to 2.5.28. See them all, or every version of this file.