diff options
-rw-r--r-- | www/phpbb/Makefile | 1 | ||||
-rw-r--r-- | www/phpbb/files/patch-includes-usercp_register.php | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/www/phpbb/Makefile b/www/phpbb/Makefile index 440bb32bed4a..455f520a8de4 100644 --- a/www/phpbb/Makefile +++ b/www/phpbb/Makefile @@ -7,6 +7,7 @@ PORTNAME= phpbb PORTVERSION= 2.0.13 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/www/phpbb/files/patch-includes-usercp_register.php b/www/phpbb/files/patch-includes-usercp_register.php new file mode 100644 index 000000000000..cbd39c827557 --- /dev/null +++ b/www/phpbb/files/patch-includes-usercp_register.php @@ -0,0 +1,16 @@ +--- 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 + { |