CoreFiles by mySites.guru
templates.php22 lines, 651 bytes, from Joomla_2.5.0-Stable-Full_Package.zip
Raw History Compare with 1.7.5
md5
2615c5fc7d3d3b98372ba6a570ffaa0f
sha1
12ed07e8397d163c1e86a414da91e3d9970a82a7
sha256
adb1c6907a590fa61318c110503c2441b16276bf334b1ec6e09d9f4b77366ee1
<?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
 */

// 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();

No other release has this exact content. See every version of this file.