×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: eR Te
Added: May 26, 2017 1:51 PM
Modified: May 26, 2017 1:58 PM
Views: 10
  1. <?php
  2.  
  3. /**
  4.  * @package     Joomla.Administrator
  5.  * @subpackage  com_
  6.  */
  7. defined('_JEXEC') or die;
  8. $controller = JControllerLegacy::getInstance('');
  9.  
  10. $input = JFactory::getApplication()->input;
  11. $controller->execute($input->getCmd('task'));
  12.  
  13. $controller->redirect();
  14. $controller->
  15. $controller->redirect();