CoreFiles by mySites.guru
contenthistory.php20 lines, 633 bytes, from Joomla_3.10.9-Stable-Full_Package.zip
Raw History Compare with 3.10.8
md5
cf1390e485032a79a786b163dd0d0854
sha1
d2d1e5a1240845effe05f0011a2843667a466e82
sha256
40850386794418667b46ab6c53a1127a2eecd138f13dd624cbcb2bb125c61251
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_contenthistory
 *
 * @copyright   (C) 2013 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

// Disallow unauthenticated users
if (JFactory::getUser()->guest)
{
	throw new JAccessExceptionNotallowed(JText::_('JERROR_ALERTNOAUTHOR'), 403);
}

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

The same content is in 25 releases, Joomla 3.10.0-alpha2 to 3.10.12. See them all, or every version of this file.