CoreFiles by mySites.guru
actionlogs.php24 lines, 693 bytes, from Joomla_3.9.13-Stable-Full_Package.zip
Raw History Compare with 3.9.12
md5
bb07fd5688f7a21f3db57726a733be73
sha1
5051d544c243e68d23b648f549b6a8e3f42bd0d3
sha256
37ff2fb22e93f8f299aca1c4caa6c4ce7cb6f78bedb480f9331cf7839bea528d
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_actionlogs
 *
 * @copyright   Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

use Joomla\CMS\Access\Exception\NotAllowed;
use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
use Joomla\CMS\MVC\Controller\BaseController;

if (!Factory::getUser()->authorise('core.admin'))
{
	throw new NotAllowed(Text::_('JERROR_ALERTNOAUTHOR'), 403);
}

$controller = BaseController::getInstance('Actionlogs');
$controller->execute(Factory::getApplication()->input->get('task'));
$controller->redirect();

The same content is in 28 releases, Joomla 3.9.2-rc to 4.0.0-alpha10. See them all, or every version of this file.