CoreFiles by mySites.guru
templates.php21 lines, 664 bytes, from Joomla_2.5.13-Stable-Full_Package.zip
Raw History Compare with 2.5.11
md5
8799c77d188fd2c22662c37567658966
sha1
57bd53d5766feb5ba1a50402e2f4d7af152aa32f
sha256
31cf23a1ad76b4d730731ddb725888284f0928f57c500e36c20abfe3fa19c1ac
<?php
/**
 * @package		Joomla.Administrator
 * @subpackage	com_templates
 * @copyright	Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

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

// Register helper
JLoader::register('TemplatesHelper', dirname(__FILE__) . '/helpers/templates.php');

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

The same content is in 8 releases, Joomla 2.5.9 to 2.5.17. See them all, or every version of this file.