CoreFiles by mySites.guru
cache.php18 lines, 548 bytes, from Joomla_2.5.17-Stable-Full_Package.zip
Raw History Compare with 2.5.16
md5
2b452af2d1c86ba0130491571a15ea6c
sha1
0ca7536045e97662b3beb81d6956bc120b4870e2
sha256
4d39e7ee7772fc8c2fb040354d4a1027bf6fee79e38494e8e5fd1ec5e2f557a0
<?php
/**
 * @package		Joomla.Administrator
 * @subpackage	com_cache
 * @copyright	Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

// Access check.
if (!JFactory::getUser()->authorise('core.manage', 'com_cache')) {
	return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
}

$controller	= JControllerLegacy::getInstance('Cache');
$controller->execute(JRequest::getCmd('task'));
$controller->redirect();

The same content is in 8 releases, Joomla 2.5.9 to 2.5.17. See them all, or every version of this file.