cvs: phpweb /include layout.inc
| From: | Hannes Magnusson | Date: | Wed, 01 Apr 2009 07:28:56 +0000 |
| Subject: | cvs: phpweb /include layout.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-4267@lists.php.net to get a copy of this message | ||
bjori Wed Apr 1 07:28:56 2009 UTC
Modified files:
/phpweb/include layout.inc
Log:
Send out correct charset headers
http://cvs.php.net/viewvc.cgi/phpweb/include/layout.inc?r1=1.295&r2=1.296&diff_format=u
Index: phpweb/include/layout.inc
diff -u phpweb/include/layout.inc:1.295 phpweb/include/layout.inc:1.296
--- phpweb/include/layout.inc:1.295 Wed Apr 1 07:24:14 2009
+++ phpweb/include/layout.inc Wed Apr 1 07:28:55 2009
@@ -1,5 +1,5 @@
<?php
-/* $Id: layout.inc,v 1.295 2009/04/01 07:24:14 bjori Exp $ */
+/* $Id: layout.inc,v 1.296 2009/04/01 07:28:55 bjori Exp $ */
// Set the static content root differently on php.net
$_SERVER['STATIC_ROOT'] = ($MYSITE == 'http://www.php.net/') ?
@@ -80,6 +80,7 @@
if (!isset($config["charset"])) { $config["charset"] = "utf-8"; }
header("Content-type: text/html;charset={$config['charset']}");
header("Content-language: {$config['lang']}");
+ header("X-PHP-QUESTION: I wonder if anyone will ever notice this");
if (!empty($title)) { $title = ": $title"; }