2014-04-08 12:32:59 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2016-12-01 07:21:47 +00:00
|
|
|
* @package Joomla.Administrator
|
|
|
|
* @subpackage Weblinks
|
2014-04-08 12:32:59 +00:00
|
|
|
*
|
2016-11-28 22:13:39 +00:00
|
|
|
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
|
2014-04-08 12:32:59 +00:00
|
|
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
|
|
|
defined('_JEXEC') or die;
|
|
|
|
JHtml::_('behavior.tabstate');
|
|
|
|
|
|
|
|
if (!JFactory::getUser()->authorise('core.manage', 'com_weblinks'))
|
|
|
|
{
|
2017-02-13 16:05:26 +00:00
|
|
|
throw new JAccessExceptionNotallowed(JText::_('JERROR_ALERTNOAUTHOR'), 403);
|
2014-04-08 12:32:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
$controller = JControllerLegacy::getInstance('Weblinks');
|
|
|
|
$controller->execute(JFactory::getApplication()->input->get('task'));
|
|
|
|
$controller->redirect();
|