33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-12-26 20:00:09 +00:00
jedchecker/source/administrator/components/com_jedchecker/jedchecker.php

19 lines
590 B
PHP
Raw Normal View History

2012-05-21 08:33:11 +00:00
<?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.controller');
$view = JRequest::getCmd('view','');
if($view == '' && JRequest::getCmd('task') == '') {
JRequest::setVar('view', 'uploads');
}
$controller = JController::getInstance('jedchecker');
$controller->execute(JRequest::getCmd('task'));
$controller->redirect();