Changeset 3442 for branches/2.2/phpgwapi
- Timestamp:
- 10/29/10 15:05:16 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/phpgwapi/inc/class.translation_sql.inc.php
r3258 r3442 127 127 } 128 128 elseif($GLOBALS['_SERVER']['HTTP_ACCEPT_LANGUAGE']) 129 $this->userlang = $GLOBALS['_SERVER']['HTTP_ACCEPT_LANGUAGE']; 129 { 130 //$this->userlang = $GLOBALS['_SERVER']['HTTP_ACCEPT_LANGUAGE']; 131 $aux = explode(';',$GLOBALS['_SERVER']['HTTP_ACCEPT_LANGUAGE']); 132 $aux = explode(',',$aux[0]); 133 $this->userlang = $aux[0]; 134 } 130 135 $this->add_app('common'); 131 136 if (!count($GLOBALS['lang']))
Note: See TracChangeset
for help on using the changeset viewer.