CoreFiles by mySites.guru
templates.php22 lines, 701 bytes, from Joomla_3.10.0-alpha8-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha7
md5
b655240b3a0e595c792d0eb6d8ead2c1
sha1
6085f4c890321111c93186ea3dfde3bf8f6f3d95
sha256
166815c7a789af68e7e246be00ad07bcde8b5826b29a125a7ae2e476e5871c42
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_templates
 *
 * @copyright   (C) 2008 Open Source Matters, Inc. <https://www.joomla.org>
 * @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 8 releases, Joomla 3.10.0-alpha4 to 3.10.0-rc2. See them all, or every version of this file.