Details
-
Type:
Docs: Problem
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.10.4
-
Component/s: Zend_Locale
-
Labels:None
-
Language:English
Description
Zend_Locale-Introduction (http://framework.zend.com/manual/en/zend.locale.introduction.html) mentions (section "Usage of automatic Locales") the variable HTTP_ACCEPT_LANGUAGE which in fact, does not exist at all. There is a key of this name in the superglobal $_SERVER variable.
In the file Zend_Locale-Introduction.xml:
line 294 reads: <constant>HTTP_ACCEPT_LANGUAGE</constant>.
it should be: <constant>$_SERVER['HTTP_ACCEPT_LANGUAGE']</constant>.
Fixed with r21791