|
From: FlorinCB <ory...@us...> - 2008-06-15 22:32:23
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10883 Modified Files: mx_functions_phpbb.php Log Message: temporary fix Index: mx_functions_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_phpbb.php,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -d -r1.61 -r1.62 *** mx_functions_phpbb.php 14 Jun 2008 20:41:08 -0000 1.61 --- mx_functions_phpbb.php 15 Jun 2008 22:32:20 -0000 1.62 *************** *** 684,688 **** function mx_append_sid($url, $non_html_amp = false, $mod_rewrite_only = false) { ! global $SID, $_SID, $mx_mod_rewrite; // Is mod_rewrite enabled? If so, do some url rewrites... --- 684,688 ---- function mx_append_sid($url, $non_html_amp = false, $mod_rewrite_only = false) { ! global $SID, $_SID, $mx_mod_rewrite, $mx_user; // Is mod_rewrite enabled? If so, do some url rewrites... *************** *** 698,707 **** } ! /* ! if ( !empty($_SID) && !preg_match('#sid=#', $url) ) { ! $url .= ( ( strpos($url, '?') !== false ) ? ( ( $non_html_amp ) ? '&' : '&' ) : '?' ) . $SID; } ! */ //Will this make troble if it's correct? --- 698,707 ---- } ! //Do we relay need this? ! if ( empty($SID) ) { ! $SID = $mx_user->session_id; } ! //Will this make troble if it's correct? |