CoreFiles by mySites.guru
cache.php23 lines, 708 bytes, from Joomla_1.7.2-Stable-Full_Package.zip
Raw History Compare with 1.7.1
md5
3c8cceefd8d3af0873bcca8facf0a175
sha1
6f84ac99b2a4d74acaedbf5401f50d84ded04ac3
sha256
9edc8493eefa6bca3472044a0605e827187a336cf1df0b5e1e1638303885aba7
<?php
/**
 * @version		$Id: cache.php 21097 2011-04-07 15:38:03Z dextercowley $
 * @package		Joomla.Administrator
 * @subpackage	com_cache
 * @copyright	Copyright (C) 2005 - 2011 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 8 releases, Joomla 1.6.2 to 1.7.2. See them all, or every version of this file.