33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-11-24 13:47:35 +00:00
jedchecker/source/administrator/components/com_jedchecker/jedchecker.php
2012-12-13 11:08:35 +01:00

20 lines
639 B
PHP

<?php
/**
* @author Daniel Dimitrov - compojoom.com
* @date: 02.06.12
*
* @copyright Copyright (C) 2008 - 2012 compojoom.com . All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('_JEXEC') or die('Restricted access');
jimport('joomla.application.component.controllerlegacy');
$input = JFactory::getApplication()->input;
$view = $input->getCmd('view','');
if($view == '' && $input->getCmd('task', '') == '') {
$input->set('view', 'uploads');
}
$controller = JControllerLegacy::getInstance('jedchecker');
$controller->execute($input->getCmd('task',''));
$controller->redirect();