CoreFiles by mySites.guru
templates.php21 lines, 652 bytes, from Joomla_3.0.3-Stable-Full_Package.zip
Raw History Compare with 3.0.2
md5
837c581d0aff88e59f0a7b4cbafdfeb7
sha1
ecf0ec4d5503d1f3892f61b7cc4e933a6d438048
sha256
bcf1649810318ca7ffe7c38ee5cff35aba17e66f81a6fa8e9cb1a117aa4e78ac
<?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;

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

JLoader::register('TemplatesHelper', __DIR__ . '/helpers/templates.php');

$controller	= JControllerLegacy::getInstance('Templates');
$controller->execute(JFactory::getApplication()->input->get('task'));
$controller->redirect();

The same content is in 7 releases, Joomla 3.0.3 to 3.1.6. See them all, or every version of this file.