CoreFiles by mySites.guru
templates.php26 lines, 829 bytes, from Joomla_1.7.5-Stable-Full_Package.zip
Raw History Compare with 1.7.4
md5
a878b35dd7988ea8438ddea172bb73e7
sha1
0c385fe929b6c496b1f4a5e0a503a2f14a773b7c
sha256
6619e8d0a93d903b65874632754042db2eff3db4cdd588164e76e5adc7c9e3fa
<?php
/**
 * @version		$Id: templates.php 22828 2012-02-02 00:18:06Z dextercowley $
 * @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'));
}

// Register helper
JLoader::register('TemplatesHelper', dirname(__FILE__) . '/helpers/templates.php');

// 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.