CoreFiles by mySites.guru
cache.php22 lines, 639 bytes, from Joomla_2.5.6-Stable-Full_Package.zip
Raw History Compare with 2.5.5
md5
20e3269f7c67ac73074a1ef417ab6e22
sha1
e0ef0e0f4cf4d53ccbc8f67b2627f404f6088f00
sha256
1d88488d516aa0dd43a926e244d65f9abd5f69d1d4bfeee2f79c8069317abc16
<?php
/**
 * @package		Joomla.Administrator
 * @subpackage	com_cache
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;

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

// Include dependancies
jimport('joomla.application.component.controller');

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

The same content is in 7 releases, Joomla 2.5.0 to 2.5.6. See them all, or every version of this file.