CoreFiles by mySites.guru
login.php22 lines, 545 bytes, from Joomla_3.2.0-Stable-Full_Package.zip
Raw History Compare with 3.1.6
md5
7001377abaa644793aebceb51cc38efa
sha1
ce1556562725da17cd5a446bc110497b5afcb1df
sha256
1efc8e01dcfd4a1e7c6eb9b57f105a2014baa647c199cae62067d28623936b2a
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_login
 *
 * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

$input = JFactory::getApplication()->input;
$task = $input->get('task');
if ($task != 'login' && $task != 'logout')
{
	$input->set('task', '');
	$task = '';
}

$controller = JControllerLegacy::getInstance('Login');
$controller->execute($task);
$controller->redirect();

The same content is in 9 releases, Joomla 3.0.3 to 3.2.1. See them all, or every version of this file.