Small correction in the logout form

Winter sport ecommerce template for Joomla with VirtueMart support
GK User
Fri Jul 06, 2012 9:33 pm
In /gk_esport/html/mod_login/default.php line 11:

Code: Select all
<form action="index.php" method="post" id="login-form">


Change index.php to <?php echo JRoute::_('index.php', true, $params->get('usesecure')); ?>, example:

Code: Select all
<form action="<?php echo JRoute::_('index.php', true, $params->get('usesecure')); ?>" method="post" id="login-form">


This is useful if you are using friendly urls (mod_rewrite), especially on Nginx servers.

:)
User avatar
Junior Boarder

teitbite
Mon Jul 09, 2012 2:28 pm
Hi

Yes of course that's a pretty nice adjustment. Thank You.
User avatar
Moderator


cron