CoreFiles by mySites.guru
templates.php21 lines, 652 bytes, from Joomla_3.0.2-Stable-Full_Package.zip
Raw History Compare with 3.0.1
md5
e3d13c2f2b65e258dfc0de292a61d402
sha1
da52f9b1092246449919173b5a3e5e68702c9a2e
sha256
48fad66ec9a411b9bc730f67a880064c50d7f7854c36a5f1556d5da2393decb7
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_templates
 *
 * @copyright   Copyright (C) 2005 - 2012 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 3 releases, Joomla 3.0.0 to 3.0.2. See them all, or every version of this file.