CoreFiles by mySites.guru
privacy.php20 lines, 586 bytes, from Joomla_3.10.2-Stable-Full_Package.zip
Raw History Compare with 3.10.1
md5
d91b226ee2aa181bd08f533159041d05
sha1
70b99f292b546d19114a8136754a1e038931a898
sha256
9e410497d27c5b408209560d0ff92be59523d318c7c1fefe71b03d766343effa
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_privacy
 *
 * @copyright   (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

// Only super user can access here
if (!JFactory::getUser()->authorise('core.admin'))
{
	throw new JAccessExceptionNotallowed(JText::_('JERROR_ALERTNOAUTHOR'), 403);
}

$controller = JControllerLegacy::getInstance('Privacy');
$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.