|
From: MW <jo...@us...> - 2008-02-09 19:46:08
|
Update of /cvsroot/mxbb/core/install/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv11661/install/includes Modified Files: functions_install.php Log Message: Upgrading old type $HTML_*_VARS Index: functions_install.php =================================================================== RCS file: /cvsroot/mxbb/core/install/includes/functions_install.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** functions_install.php 4 Feb 2008 15:58:08 -0000 1.5 --- functions_install.php 9 Feb 2008 19:46:04 -0000 1.6 *************** *** 654,658 **** function guess_lang() { ! global $mx_root_path, $HTTP_SERVER_VARS; // The order here _is_ important, at least for major_minor --- 654,658 ---- function guess_lang() { ! global $mx_root_path; // The order here _is_ important, at least for major_minor *************** *** 710,716 **** ); ! if (isset($HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'])) { ! $accept_lang_ary = explode(',', $HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE']); for ($i = 0; $i < sizeof($accept_lang_ary); $i++) { --- 710,716 ---- ); ! if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { ! $accept_lang_ary = explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']); for ($i = 0; $i < sizeof($accept_lang_ary); $i++) { |