mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Fixes Bug #48571.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282259 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
c83112eeec
commit
81d901a3ba
1 changed files with 3 additions and 3 deletions
|
@ -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 @@ echo $locale;
|
|||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$locale = Locale::acceptFromHttp($_SERVER('HTTP_ACCEPT_LANGUAGE'));
|
||||
$locale = Locale::acceptFromHttp($_SERVER['HTTP_ACCEPT_LANGUAGE']);
|
||||
echo $locale;
|
||||
?>
|
||||
]]>
|
||||
|
|
Loading…
Reference in a new issue