the-art-of-joomla-archive /redirect/code/trunk/administrator/components/com_redirect/redirect.php

Language PHP Lines 26
MD5 Hash d82912935a88c1562bac42a5c50b8f09 Estimated Cost $192 (why?)
Repository https://bitbucket.org/eddieajau/the-art-of-joomla-archive View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
/**
 * @version		$Id: redirect.php 390 2010-11-05 11:35:33Z eddieajau $
 * @package		NewLifeInIT
 * @subpackage	com_redirect
 * @copyright	Copyright 2005 - 2010 New Life in IT Pty Ltd. All rights reserved.
 * @license		GNU General Public License <http://www.gnu.org/copyleft/gpl.html>
 * @link		http://www.theartofjoomla.com
 */

defined('_JEXEC') or die;

$lang = JFactory::getLanguage();
$lang->load('com_redirect', JPATH_COMPONENT);

// Import the component version class.
require_once JPATH_COMPONENT.'/version.php';
require_once JPATH_COMPONENT.'/libraries/loader.php';

juimport('joomla.application.component.controller');

// Execute the task.
$controller	= JController::getInstance('Redirect');
$controller->execute(JRequest::getCmd('task'));
$controller->redirect();
Back to Top