FreeBSD Bugzilla – Attachment 53592 Details for
Bug 81060
[maintainer] update www/phpbb to 2.0.15
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.42 KB, created by
Kang Liu
on 2005-05-15 12:50:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Kang Liu
Created:
2005-05-15 12:50:02 UTC
Size:
2.42 KB
patch
obsolete
>Index: patch-includes-sessions.php >=================================================================== >RCS file: /home/ncvs/ports/www/phpbb/files/patch-includes-sessions.php,v >retrieving revision 1.2 >diff -u -r1.2 patch-includes-sessions.php >--- patch-includes-sessions.php 6 May 2004 13:49:19 -0000 1.2 >+++ patch-includes-sessions.php 15 May 2005 10:57:20 -0000 >@@ -1,15 +1,15 @@ >---- includes/sessions.php.orig Sun Jul 20 17:42:23 2003 >-+++ includes/sessions.php Thu May 6 12:02:56 2004 >-@@ -147,7 +147,7 @@ >+--- includes/sessions.php.orig Sat May 14 05:04:00 2005 >++++ includes/sessions.php Sun May 15 18:53:48 2005 >+@@ -167,7 +167,7 @@ > $sql = "INSERT INTO " . SESSIONS_TABLE . " >- (session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in) >- VALUES ('$session_id', $user_id, $current_time, $current_time, '$user_ip', $page_id, $login)"; >+ (session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in, session_admin) >+ VALUES ('$session_id', $user_id, $current_time, $current_time, '$user_ip', $page_id, $login, $admin)"; > - if ( !$db->sql_query($sql) ) > + if ( $user_id != ANONYMOUS && !$db->sql_query($sql) ) > { > message_die(CRITICAL_ERROR, 'Error creating new session', '', __LINE__, __FILE__, $sql); > } >-@@ -380,4 +380,4 @@ >+@@ -421,4 +421,4 @@ > return $url; > } > >--- files/patch-includes-usercp_register.php Mon Mar 14 10:32:56 2005 >+++ /dev/null Sun May 15 19:30:05 2005 >@@ -1,16 +0,0 @@ >---- includes/usercp_register.php.orig Sun Mar 13 19:44:02 2005 >-+++ includes/usercp_register.php Sun Mar 13 19:48:34 2005 >-@@ -145,10 +145,9 @@ >- if ( $mode == 'register' ) >- { >- $attachsig = ( isset($HTTP_POST_VARS['attachsig']) ) ? ( ($HTTP_POST_VARS['attachsig']) ? TRUE : 0 ) : $board_config['allow_sig']; >-- >-- $allowhtml = ( isset($HTTP_POST_VARS['allowhtml']) ) ? ( ($HTTP_POST_VARS['allowhtml']) ? TRUE : 0 ) : $board_config['allow_html']; >-- $allowbbcode = ( isset($HTTP_POST_VARS['allowbbcode']) ) ? ( ($HTTP_POST_VARS['allowbbcode']) ? TRUE : 0 ) : $board_config['allow_bbcode']; >-- $allowsmilies = ( isset($HTTP_POST_VARS['allowsmilies']) ) ? ( ($HTTP_POST_VARS['allowsmilies']) ? TRUE : 0 ) : $board_config['allow_smilies']; >-+ $allowhtml = ( ($board_config['allowhtml']) ) ? TRUE : 0; >-+ $allowbbcode = ( ($board_config['allowbbcode']) ) ? TRUE : 0; >-+ $allowsmilies = ( ($board_config['allowsmilies']) ) ? TRUE : 0; >- } >- else >- {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 81060
:
53591
| 53592