Index: trunk/kernel/frontaction.php =================================================================== diff -u -r2131 -r2238 --- trunk/kernel/frontaction.php (.../frontaction.php) (revision 2131) +++ trunk/kernel/frontaction.php (.../frontaction.php) (revision 2238) @@ -47,11 +47,16 @@ { $objSession->SetVariable('next_template',''); $var_list_update["t"] = $next_template; + $url = GetIndexURL(2)."?env=".BuildEnv(); header('Location: '.$url); exit; $var_list['t'] = $next_template.'.tpl'; } + elseif($var_list['t'] == 'login') + { + $var_list['t'] = 'index'; + } } else {