cvs: phpdoc /en/reference/intl/locale accept-from-http.xml
| From: | Daniel P. Brown | Date: | Tue, 16 Jun 2009 18:51:17 +0000 |
| Subject: | cvs: phpdoc /en/reference/intl/locale accept-from-http.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4150@lists.php.net to get a copy of this message | ||
danbrown Tue Jun 16 18:51:17 2009 UTC
Modified files:
/phpdoc/en/reference/intl/locale accept-from-http.xml
Log:
Fixes Bug #48571.
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/intl/locale/accept-from-http.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/intl/locale/accept-from-http.xml
diff -u phpdoc/en/reference/intl/locale/accept-from-http.xml:1.1
phpdoc/en/reference/intl/locale/accept-from-http.xml:1.2
--- phpdoc/en/reference/intl/locale/accept-from-http.xml:1.1 Wed Jul 23 20:38:32 2008
+++ phpdoc/en/reference/intl/locale/accept-from-http.xml Tue Jun 16 18:51:16 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry xml:id="locale.acceptfromhttp" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Locale::acceptFromHttp</refname>
@@ -63,7 +63,7 @@
<programlisting role="php">
<![CDATA[
<?php
-$locale = locale_accept_from_http($_SERVER('HTTP_ACCEPT_LANGUAGE'));
+$locale = locale_accept_from_http($_SERVER['HTTP_ACCEPT_LANGUAGE']);
echo $locale;
?>
]]>
@@ -74,7 +74,7 @@
<programlisting role="php">
<![CDATA[
<?php
-$locale = Locale::acceptFromHttp($_SERVER('HTTP_ACCEPT_LANGUAGE'));
+$locale = Locale::acceptFromHttp($_SERVER['HTTP_ACCEPT_LANGUAGE']);
echo $locale;
?>
]]>