Gentoo Archives: gentoo-commits

From: "Tom Knight
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-projects commit in forums/htdocs/includes: functions.php
Date: Sun, 09 Sep 2007 11:15:17
Message-Id: E1IUKeL-0001mm-8K@stork.gentoo.org
1 tomk 07/09/09 11:08:21
2
3 Modified: functions.php
4 Log:
5 Added UTF-8 charset definition to content type headers
6
7 Revision Changes Path
8 1.23 forums/htdocs/includes/functions.php
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/forums/htdocs/includes/functions.php?rev=1.23&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/forums/htdocs/includes/functions.php?rev=1.23&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/forums/htdocs/includes/functions.php?r1=1.22&r2=1.23
13
14 Index: functions.php
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-projects/forums/htdocs/includes/functions.php,v
17 retrieving revision 1.22
18 retrieving revision 1.23
19 diff -u -r1.22 -r1.23
20 --- functions.php 29 Dec 2006 11:52:49 -0000 1.22
21 +++ functions.php 9 Sep 2007 11:08:20 -0000 1.23
22 @@ -7,7 +7,7 @@
23 * copyright : (C) 2001 The phpBB Group
24 * email : support@×××××.com
25 *
26 - * $Id: functions.php,v 1.22 2006/12/29 11:52:49 tomk Exp $
27 + * $Id: functions.php,v 1.23 2007/09/09 11:08:20 tomk Exp $
28 *
29 *
30 ***************************************************************************/
31 @@ -1077,7 +1077,7 @@
32 if (@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')))
33 {
34 header('Refresh: 0; URL=' . $server_protocol . $server_name . $server_port . $script_name . $url);
35 - echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta http-equiv="refresh" content="0; url=' . $server_protocol . $server_name . $server_port . $script_name . $url . '"><title>Redirect</title></head><body><div align="center">If your browser does not support meta redirection please click <a href="' . $server_protocol . $server_name . $server_port . $script_name . $url . '">HERE</a> to be redirected</div></body></html>';
36 + echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta http-equiv="refresh" content="0; url=' . $server_protocol . $server_name . $server_port . $script_name . $url . '"><title>Redirect</title></head><body><div align="center">If your browser does not support meta redirection please click <a href="' . $server_protocol . $server_name . $server_port . $script_name . $url . '">HERE</a> to be redirected</div></body></html>';
37 exit;
38 }
39
40
41
42
43 --
44 gentoo-commits@g.o mailing list