summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 00294f0)
raw | patch | inline | side by side (parent: 00294f0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Oct 2007 07:26:55 +0000 (07:26 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Oct 2007 07:26:55 +0000 (07:26 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7578 594d385d-05f5-0310-b6e9-bd551577e9d8
include/accept-to-gettext.inc | patch | blob | history |
index 044f932ea39c33e0570f57118ce7a73898458184..7d39ecf934ca6253037335eb8bf4d51835e8c96f 100644 (file)
if(!isset($_SERVER["HTTP_ACCEPT_LANGUAGE"])){
$_SERVER["HTTP_ACCEPT_LANGUAGE"] = "";
}
+ if(!isset($_SERVER["HTTP_ACCEPT_CHARSET"])){
+ $_SERVER["HTTP_ACCEPT_CHARSET"] = "";
+ }
/* default to "everything is acceptable", as RFC2616 specifies */
$acceptLang=(($_SERVER["HTTP_ACCEPT_LANGUAGE"] == '') ? '*' :