CoreFiles by mySites.guru
templates.php23 lines, 711 bytes, from Joomla_1.6.1-Stable-Full_Package.zip
Raw History Compare with 1.6.0
md5
8c18712f8a8684b39d519b41e8cea984
sha1
196ba1007ade0555bda88db3bf965cb6d2a9a2ae
sha256
d71e47f1d13624ba5f0cc2148d727f157cd175cfabdb672f198f80d93f8ca0bd
<?php
/**
 * @version		$Id: templates.php 20196 2011-01-09 02:40:25Z ian $
 * @package		Joomla.Administrator
 * @subpackage	Templates
 * @copyright	Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;

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

// Include dependancies
jimport('joomla.application.component.controller');

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

The same content is in 2 releases, Joomla 1.6.0 to 1.6.1. See them all, or every version of this file.