CoreFiles by mySites.guru
login.php22 lines, 545 bytes, from Joomla_3.2.2-Stable-Full_Package.zip
Raw History Compare with 3.2.1
md5
a93f3dcb81c3075ebdc22c90b9b25f30
sha1
8eaacc8a8b8bfc7dab9a155da2c291ce5b1f15e9
sha256
4b98bb77d026a988be466f1f12bf9723b894a1216f132b75d5cf9c07647ab44e
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_login
 *
 * @copyright   Copyright (C) 2005 - 2014 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 13 releases, Joomla 3.2.2 to 3.3.6. See them all, or every version of this file.