From: Moritz Bunkus Date: Thu, 31 Jan 2008 11:51:41 +0000 (+0000) Subject: Beim Erstellen des XUL/XML-Menüs die HTTP-Antwort von $form->create_http_response... X-Git-Tag: release-2.6.0beta1~267 X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/commitdiff_plain/a034cc76e98af000f3835abef6ce336f58d01eb7?ds=sidebyside Beim Erstellen des XUL/XML-Menüs die HTTP-Antwort von $form->create_http_response() erzeugen lassen, weil diese die nötigen Session-Cookies setzt. --- diff --git a/bin/mozilla/menuXML.pl b/bin/mozilla/menuXML.pl index 3aa32f2f8..f36cb4b1c 100644 --- a/bin/mozilla/menuXML.pl +++ b/bin/mozilla/menuXML.pl @@ -46,7 +46,8 @@ use Encode; # end of main sub display { - print "Content-type: text/xml; charset=iso-8859-1\n\n"; + print $form->create_http_response('content_type' => 'text/xml', + 'charset' => 'iso-8859-1'); print qq|\n|; print qq|\n|; print qq|