CoreFiles by mySites.guru
content.php21 lines, 642 bytes, from Joomla_3.0.1-Stable-Full_Package.zip
Raw History Compare with 3.0.0
md5
1736bf0afdbfcc5631cb80a1b9faf8e8
sha1
609119ae7bd32032639d7ff8a4ac62e083ae8419
sha256
11a5bfedb5caf273b8f0a0387cda49c265288df58df3cc4505915cbdf0a7a3fb
<?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
 */

defined('_JEXEC') or die;

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

JLoader::register('ContentHelper', __DIR__ . '/helpers/content.php');

$controller = JControllerLegacy::getInstance('Content');
$controller->execute(JFactory::getApplication()->input->get('task'));
$controller->redirect();

The same content is in 3 releases, Joomla 3.0.0 to 3.0.2. See them all, or every version of this file.