CoreFiles by mySites.guru
content.php25 lines, 751 bytes, from Joomla_2.5.2-Stable-Full_Package.zip
Raw History Compare with 2.5.1
md5
d868f3f800f0cc86dc73b215ce7a0c74
sha1
de6490edb6b0dc56276334939e21e4b7016d971d
sha256
53a37eda424c4cdd1eeba583bed2f8eaf5325046aa21751ced4007b815ce0bb7
<?php
/**
 * @package		Joomla.Administrator
 * @subpackage	com_content
 * @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_content')) {
	return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
}

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

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

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

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