CoreFiles by mySites.guru
cache.php19 lines, 574 bytes, from Joomla_3.9.15-rc-Release_Candidate-Full_Package.zip
Raw History Compare with 3.9.14-rc
md5
ed716f0c77de8fc939aa525c8206a83e
sha1
787b5b7bd20bb5b09ea779a596b14e173bc4733a
sha256
d318ea0cb522da4d0d5e62027260be1d4787a87368983c739bff72623da96d59
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_cache
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

if (!JFactory::getUser()->authorise('core.manage', 'com_cache'))
{
	throw new JAccessExceptionNotallowed(JText::_('JERROR_ALERTNOAUTHOR'), 403);
}

$controller = JControllerLegacy::getInstance('Cache');
$controller->execute(JFactory::getApplication()->input->get('task'));
$controller->redirect();

The same content is in 30 releases, Joomla 3.9.15-rc to 3.10.0-alpha1. See them all, or every version of this file.