CoreFiles by mySites.guru
cache.php18 lines, 548 bytes, from Joomla_2.5.21-Stable-Full_Package.zip
Raw History Compare with 2.5.20
md5
46dda440137013bec7463071af2997dc
sha1
e33dc82488a12d9f30fcc9b7bf0ff73d32b14786
sha256
e91ae8a13a6ab8b4033d93d518a0322b56def86d7f2d28fcf157a573c164445b
<?php
/**
 * @package		Joomla.Administrator
 * @subpackage	com_cache
 * @copyright	Copyright (C) 2005 - 2014 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 11 releases, Joomla 2.5.18 to 2.5.28. See them all, or every version of this file.