|
From: FlorinCB <ory...@us...> - 2008-07-09 14:54:39
|
Update of /cvsroot/mxbb/core/includes/sessions/phpbb2 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv17566 Modified Files: session.php Log Message: get_old_lang -> get_phpbb_lang Index: session.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/sessions/phpbb2/session.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** session.php 26 Jun 2008 22:02:02 -0000 1.7 --- session.php 9 Jul 2008 14:54:36 -0000 1.8 *************** *** 601,609 **** } ! $board_config['default_lang'] = $this->get_old_lang($board_config['default_lang']); // This will expand the lang name if ($userdata['user_id'] != ANONYMOUS) { ! $this->lang_name = (file_exists($phpbb_lang_path . "lang_" . $this->get_old_lang($userdata['user_lang']) . "/lang_main.$phpEx")) ? $this->get_old_lang($userdata['user_lang']) : $board_config['default_lang']; $this->lang_path = $phpbb_lang_path . "lang_" . $this->lang_name . '/'; --- 601,609 ---- } ! $board_config['default_lang'] = $this->get_phpbb_lang($board_config['default_lang']); // This will expand the lang name if ($userdata['user_id'] != ANONYMOUS) { ! $this->lang_name = (file_exists($phpbb_lang_path . "lang_" . $this->get_phpbb_lang($userdata['user_lang']) . "/lang_main.$phpEx")) ? $this->get_phpbb_lang($userdata['user_lang']) : $board_config['default_lang']; $this->lang_path = $phpbb_lang_path . "lang_" . $this->lang_name . '/'; *************** *** 1026,1034 **** } ! $board_config['default_lang'] = $this->get_old_lang($board_config['default_lang']); // This will expand the lang name if ($userdata['user_id'] != ANONYMOUS) { ! $this->lang_name = (file_exists($phpbb_lang_path . "lang_" . $this->get_old_lang($userdata['user_lang']) . "/lang_main.$phpEx")) ? $this->get_old_lang($userdata['user_lang']) : $board_config['default_lang']; $this->lang_path = $phpbb_lang_path . "lang_" . $this->lang_name . '/'; } --- 1026,1034 ---- } ! $board_config['default_lang'] = $this->get_phpbb_lang($board_config['default_lang']); // This will expand the lang name if ($userdata['user_id'] != ANONYMOUS) { ! $this->lang_name = (file_exists($phpbb_lang_path . "lang_" . $this->get_phpbb_lang($userdata['user_lang']) . "/lang_main.$phpEx")) ? $this->get_phpbb_lang($userdata['user_lang']) : $board_config['default_lang']; $this->lang_path = $phpbb_lang_path . "lang_" . $this->lang_name . '/'; } |