CoreFiles by mySites.guru
contenthistory.php20 lines, 637 bytes, from Joomla_3.6.1-Stable-Full_Package.zip
Raw History Compare with 3.6.0
md5
4f4272076a9753bc7b74d62228ea4a7e
sha1
9a0a0ba1adad8b370e19840a38e6697c8422ca98
sha256
a59b35773c5cdee4af520be922a0ddd175d4a4c8472e4b83200a4b63fdecfdd7
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_contenthistory
 *
 * @copyright   Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

// Disallow unauthenticated users
if (JFactory::getUser()->guest)
{
	return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
}

$controller = JControllerLegacy::getInstance('Contenthistory', array('base_path' => JPATH_COMPONENT_ADMINISTRATOR));
$controller->execute(JFactory::getApplication()->input->get('task'));
$controller->redirect();

The same content is in 22 releases, Joomla 3.5.0-beta2 to 3.6.2. See them all, or every version of this file.