X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex_rd.php;h=8b25ae0f222f312ac4d4cf691d1085a503b361e3;hb=29ef3f7db6bc1d39c658a15d95d22e45bbd59c16;hp=ea422ef1bb9cba1fc25e44d0919e80629f0157a9;hpb=02b4a00df564ee639c9188f32770518ef4d59435;p=brisk.git diff --git a/web/index_rd.php b/web/index_rd.php index ea422ef..8b25ae0 100644 --- a/web/index_rd.php +++ b/web/index_rd.php @@ -259,15 +259,6 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su log_auth($user->sess, "Explicit logout."); $user->reset(); - /* factorized with ->reset() - $tmp_sess = $user->sess; - $user->sess = ""; - step_unproxy($tmp_sess); - $user->name = ""; - while (array_pop($user->comm) != NULL); - $user->step = 0; - $user->the_end = FALSE; - */ if ($user->subst == 'sitdown') { log_load("ROOM WAKEUP"); @@ -307,6 +298,9 @@ $is_page_streaming = ((stristr($HTTP_USER_AGENT, "linux") && header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past +header('Content-type: application/xml; charset="utf-8"',true); +// header('Content-type: text/plain; charset="utf-8"',true); +// header('Content-type: text/html; charset="utf-8"',true); if (!isset($myfrom)) $myfrom = "";