CoreFiles by mySites.guru
contenthistory.php20 lines, 646 bytes, from Joomla_3.6.4-Stable-Full_Package.zip
Raw History Compare with 3.6.3
md5
511cf61c81e64e5413d08dda4d643207
sha1
6cef866f8076e83db58f3b6e936f3fd7a11b1acc
sha256
a4370611041940a29c7cb0c4ae530cbd8a8b2d2695a48bc02e6ba84c30e17fbe
<?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)
{
	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 7 releases, Joomla 3.6.3-rc1 to 3.7.0-alpha1. See them all, or every version of this file.