which contains:
- Code: Select all
// Implements language negotiation
class lang_detect {
// PUBLIC VARIABLES
VAR $langs ; // Counter for how many languages are supported
VAR $lang_list ; // Language List [lang,q] pairs
// PRIVATE VARIABLES
VAR $accept_lang ; // Original HTTP_ACCEPT_LANGUAGES
// PUBLIC INTERFACE
function lang_detect() {
// Constructor: sets values for initial workout
$this->accept_lang = $GLOBALS["HTTP_ACCEPT_LANGUAGE"] ; // <-- HERE
$this->lang_init() ;
}
This happens after enabling mbstring settings in php.ini ... mbstring is required by php-gettext package (see http://community.apachefriends.org/f/viewtopic.php?p=80970#80970). This doesn't happen in the server where I'm hosting my site.
Any ideas?