CoreFiles by mySites.guru
messages.php22 lines, 649 bytes, from Joomla_2.5.2-Stable-Full_Package.zip
Raw History Compare with 2.5.1
md5
8bc54601d0a0ed16d19e558a038510f1
sha1
652533c95a668a801ba8350e04e9ae2f16c5d516
sha256
aeeafdced55ad0d13c082ee2a994826ada4be27402997b9895e95accd8864f68
<?php
/**
 * @package		Joomla.Administrator
 * @subpackage	com_messages
 * @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_messages')) {
	return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
}

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

$controller	= JController::getInstance('Messages');
$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.