Index: trunk/kernel/frontaction.php =================================================================== diff -u -r2772 -r2853 --- trunk/kernel/frontaction.php (.../frontaction.php) (revision 2772) +++ trunk/kernel/frontaction.php (.../frontaction.php) (revision 2853) @@ -34,7 +34,7 @@ $pw = $_POST["login_password"]; if(strlen($pw) < 31) $pw = md5($pw); $c .= $pw; - setcookie("login",$c,time()+2592000, '', $_SERVER['HTTP_HOST']); + set_cookie('login', $c, time() + 2592000); } // set new destination template if passed @@ -373,13 +373,7 @@ } break; - case "m_logout": -// $objSession->Logout(); - //unset($objSession); - //$objSession = new clsUserSession(); -// $var_list_update["t"] = "index"; -// setcookie("login","",time()-3600, '', $_SERVER['HTTP_HOST']); - break; + case "m_register": $_POST=inp_escape($_POST); $MissingCount = SetMissingDataErrors("m_register");