CoreFiles by mySites.guru
templates.php23 lines, 723 bytes, from Joomla_1.7.3-Stable-Full_Package.zip
Raw History Compare with 1.7.2
md5
fb26a74dae87aa393946916dc13013d0
sha1
68c97c58b6b3ae4024d9cff951a5ed56c9cf93b8
sha256
49234d6ca90e0124d196b3da8f1361d5743b534000bb51b0ea540982cd1ef4b6
<?php
/**
 * @version		$Id: templates.php 22338 2011-11-04 17:24:53Z github_bot $
 * @package		Joomla.Administrator
 * @subpackage	com_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.7.3 to 1.7.4. See them all, or every version of this file.