From ea7c46b4f37691702b8e78dea34c3e9a3afb232d Mon Sep 17 00:00:00 2001 From: thomascube Date: Fri, 3 Mar 2006 16:34:35 +0000 Subject: Improved reading of POST and GET values --- program/include/rcube_shared.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'program/include/rcube_shared.inc') diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc index da5665199..77753f5b4 100644 --- a/program/include/rcube_shared.inc +++ b/program/include/rcube_shared.inc @@ -108,7 +108,7 @@ class rcube_html_page // set default page title if (!strlen($this->title)) - $this->title = 'RoundCube|Mail'; + $this->title = 'RoundCube Mail'; // replace specialchars in content $__page_title = rep_specialchars_output($this->title, 'html', 'show', FALSE); @@ -117,7 +117,10 @@ class rcube_html_page // include meta tag with charset if (!empty($this->charset)) - $__page_header = ''."\n";; + { + header('Content-Type: text/html; charset='.$this->charset); + $__page_header = ''."\n"; + } // definition of the code to be placed in the document header and footer -- cgit v1.2.3