CoreFiles by mySites.guru
templates.php22 lines, 692 bytes, from Joomla_3.7.4-Stable-Full_Package.zip
Raw History Compare with 3.7.3
md5
c6c805f9a44da03be3ffcdae04292f6c
sha1
6c6b128991de8bd822f25b7a991461cda0889e3f
sha256
c9180ae9fd23e8268fdd500e66c519069d508f52fc20f92b26bb7384ce53e076
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_templates
 *
 * @copyright   Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;
JHtml::_('behavior.tabstate');

if (!JFactory::getUser()->authorise('core.manage', 'com_templates'))
{
	throw new JAccessExceptionNotallowed(JText::_('JERROR_ALERTNOAUTHOR'), 403);
}

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 34 releases, Joomla 3.7.0-alpha2 to 3.8.3. See them all, or every version of this file.