CoreFiles by mySites.guru
cache.php23 lines, 707 bytes, from Joomla_1.7.3-Stable-Full_Package.zip
Raw History Compare with 1.7.2
md5
028bc0cd769280359bb0594d65e29a6e
sha1
c03853af6c391410a69897f499bdb18a797ff653
sha256
254a541e2bff4e5403910a6ad9ced9a3fe432f9577371a4103803c0691e94206
<?php
/**
 * @version		$Id: cache.php 22338 2011-11-04 17:24:53Z github_bot $
 * @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 3 releases, Joomla 1.7.3 to 1.7.5. See them all, or every version of this file.