CoreFiles by mySites.guru
login.php20 lines, 480 bytes, from Joomla_2.5.7-Stable-Full_Package.zip
Raw History Compare with 2.5.6
md5
46b05e74a341d9643752baea50d2f79b
sha1
58cf0aea0ce5622f3c1c9767e0c5635efdfa253a
sha256
79a556def03b167c088b71b7ac7459bb5a4d53c5da987351f27d2cb3367b49cb
<?php
/**
 * @package		Joomla.Administrator
 * @subpackage	com_login
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License, see LICENSE.php
 */

defined('_JEXEC') or die;

$task = JRequest::getCmd('task');
if ($task != 'login' && $task != 'logout')
{
	JRequest::setVar('task', '');
	$task = '';
}

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

The same content is in 2 releases, Joomla 2.5.7 to 2.5.8. See them all, or every version of this file.