CoreFiles by mySites.guru
cache.php23 lines, 695 bytes, from Joomla_1.6.0-Stable-Full_Package.zip
Raw History Compare with 1.5.26
md5
96a29d3ee1f221eaabab2632300f3259
sha1
1e575509b644f8ce25a06578126bc0fe8bad9d86
sha256
9f91d7d81ed4eec19a02b51715e994cab657e846d6b22916afdf09229f507272
<?php
/**
 * @version		$Id: cache.php 20196 2011-01-09 02:40:25Z ian $
 * @package		Joomla.Administrator
 * @subpackage	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 2 releases, Joomla 1.6.0 to 1.6.1. See them all, or every version of this file.