Index: trunk/kernel/frontaction.php =================================================================== diff -u -r3109 -r3124 --- trunk/kernel/frontaction.php (.../frontaction.php) (revision 3109) +++ trunk/kernel/frontaction.php (.../frontaction.php) (revision 3124) @@ -47,9 +47,8 @@ { $objSession->SetVariable('next_template',''); $var_list_update["t"] = $next_template; - - $url = GetIndexURL(2)."?env=".BuildEnv(); - header('Location: '.$url); + + header('Location: ' . HREF_Wrapper() ); exit; $var_list['t'] = $next_template.'.tpl'; } @@ -527,8 +526,7 @@ { $objSession->SetVariable('next_template',''); $var_list_update["t"] = $next_template; - $url = GetIndexURL(2)."?env=".BuildEnv(); - header('Location: '.$url); + header('Location: ' . HREF_Wrapper() ); exit; $var_list['t'] = $next_template.'.tpl'; }